up2date --help broken?
Folke Lemaitre
folke.lemaitre at gmail.com
Tue Oct 26 12:01:25 UTC 2004
Performing up2date --help gives me allways the following traceback:
Traceback (most recent call last):
File "/usr/sbin/up2date", line 1248, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 355, in main
(options, pkgNames) = optparser.parse_args()
File "/usr/lib/python2.3/optparse.py", line 1129, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib/python2.3/optparse.py", line 1169, in _process_args
self._process_long_opt(rargs, values)
File "/usr/lib/python2.3/optparse.py", line 1244, in _process_long_opt
option.process(opt, value, values, self)
File "/usr/lib/python2.3/optparse.py", line 611, in process
return self.take_action(
File "/usr/lib/python2.3/optparse.py", line 632, in take_action
parser.print_help()
File "/usr/sbin/up2date", line 89, in print_help
OptionParser.print_help(self, file)
File "/usr/lib/python2.3/optparse.py", line 1370, in print_help
file.write(self.format_help())
TypeError: descriptor 'write' requires a 'file' object but received a 'str'
,Folke
More information about the fedora-test-list
mailing list