[xml] Possible bug in python/generator.py



Hello list,

i just checked out the latest CVS of libxml2
and get the following error during 'make':

  Traceback (most recent call last):
    File "generator.py", line 1134, in ?
      buildWrappers()
    File "generator.py", line 1092, in buildWrappers
      if pref[0] == ref[0]:
  UnboundLocalError: local variable 'ref' referenced before assignment

As far as i understand the python code, this seems to be true.
The list 'ref[]' isn't in scope at this place.
My version of Python:

  Python 2.1.3 (#1, Apr 20 2002, 10:14:34) 
  [GCC 2.95.4 20011002 (Debian prerelease)] on linux2

Any ideas what went wrong?

 Ralf Mattes

  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]