caglar@zangetsu ~ $ pisi info libsndfile --xml -d
DEBUG: RepoDB initialized in 0.000118017196655.
DEBUG: PackageDB initialized in 1.18238210678.
Sistem Hatası: Program Sonlandırıldı.
exceptions.NameError: global name 'sys' is not defined
Genel yardım için lütfen 'pisi help' komutunu kullanınız.
Geri-iz:
File "/usr/bin/pisi", line 85, in ?
cli.run_command()
File "/usr/lib/pardus/pisi/cli/pisicli.py", line 135, in run_command
self.command.run()
File "/usr/lib/pardus/pisi/cli/info.py", line 98, in run
index.writexmlfile(sys.stdout)
This commit is contained in:
@@ -92,6 +92,7 @@ Usage: info <package1> <package2> ... <packagen>
|
||||
self.info_package(arg)
|
||||
|
||||
if self.options.xml:
|
||||
import sys
|
||||
errs = []
|
||||
index.newDocument()
|
||||
index.encode(index.rootNode(), errs)
|
||||
|
||||
Reference in New Issue
Block a user