Agree. I will change it.


On Wed, Feb 26, 2014 at 11:45 PM, Anthony Scopatz
<notifications@github.com>wrote:

> In xdress/astparsers.py:
>
> > @@ -182,7 +182,10 @@ def gccxml_parse(filename, includes=(), defines=('XDRESS',), undefines=(),
> >      if len(drive) > 0:
> >          # Windows drive handling, 'C:' -> 'C_'
> >          xmlname = drive.replace(':', '_') + xmlname
> > -    xmlname = xmlname.replace(os.path.sep, '_').rsplit('.', 1)[0] + '.xml'
> > +    if os.path.altsep:
>
> This should be if os.path.altsep is not None:
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/xdress/xdress/pull/197/files#r10112116>
> .
>



-- 
Jinsuo Nie