import-dsc for *.dsc: exceptions.NameError: global name 'files' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bzr-builddeb
If you use "bzr import-dsc --to test *.dsc" the following exception gets thrown:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
importer = DscImporter(files)
NameError: global name 'files' is not defined
bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'import-dsc', '--to', 'test3', 'bzr-builddeb_
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |
The fix is quite simple. files_list) "
Instead of "importer = DscImporter(files)" it should be "importer = DscImporter(
I'll include the fix in the debdiff for bug 145019.