On 4/10/07, Stuart Rackham <[EMAIL PROTECTED]> wrote:
> Hi Miguel
>
> Miguel Farah wrote:
> > I'm using AsciiDoc on a Windows only machine (for the time being).
>[...........]
>
> This looks like a bug, my guess is that you have an include::[] macro in
> your CONFIGURACION.conf file and when asciidoc checks the include is
> safe it checks the include file is in the the same directory branch as
> CONFIGURACION.conf, but since CONFIGURACION.conf has a directory of ''
> the os.path.isdir() assertion fails.
>
> Try replacing at lines 126,127 in asciidoc.py:
>
>      if dir is None:
>          dir = os.path.dirname(document.infile)
>
> with:
>
>      if dir is None:
>          dir = os.path.dirname(document.infile)
>      elif dir == '':
>          dir = '.'
>
> This should fix the problem.

Indeed, it did.

Thanks.

-- 
Miguel Farah
[EMAIL PROTECTED]

_______________________________________________
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Reply via email to