From: Joerg L. <jo...@us...> - 2010-06-01 18:15:46
|
Hi AXel, On 19.05.10, Axel Freyn wrote: > I just found a "Bug" in PyX 0.10, while playing with crazy paths': > > File "/opt/python/PyX-0.10/pyx/normpath.py", line 1731, in join > raise PathException("cannot join empty path") > NameError: global name 'PathException' is not defined > > Python is quite right here - PathException is defined in path.py, not in > normpath.py. And normpath does "import path", but not "from path import > PathException". The same error seems to exist in trunk > (http://pyx.svn.sourceforge.net/viewvc/pyx/trunk/pyx/pyx/normpath.py?view=markup). > > Correcting the bug shouldn't be to hard;-) Checked in. Thanks for finding this - whatever the crazy path's were... Jörg |