Description
While we need python2.3 for 1.3.5 the copied walk funktion into 12_to_13_mig10.py makes trouble. -- ReimarBauer 2005-08-12 19:25:24
python 12_to_13_mig10.py
data.pre-mig10/ -> data/ Traceback (most recent call last): File "12_to_13_mig10.py", line 130, in ? migrate(destdir) File "12_to_13_mig10.py", line 109, in migrate for root, dirs, files in walk(attachdir): File "12_to_13_mig10.py", line 72, in walk except error, err: NameError: global name 'error' is not defined
Workaround
change "except error, err" to "except os.error, err"
Discussion
The walk function was copied from Python 2.3 os module, so it can be used with with Pthon 2.2, but the author forgot to adapt it to run outside os.
Plan
- Priority:
Assigned to: ThomasWaldmann
- Status: fixed by moin--main--1.3--patch-914