smart upgrade --dump not working with python 2.3

Bug #259142 reported by Anders F Björklund
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
Fix Released
Low
Gustavo Niemeyer

Bug Description

Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.3/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.3/site-packages/smart/commands/upgrade.py", line 181, in main
    ctrl.dumpTransactionPackages(trans, install=True)
  File "/usr/lib/python2.3/site-packages/smart/control.py", line 424, in dumpTransactionPackages
    ops = set()
NameError: global name 'set' is not defined

Forgot a patch needed on CentOS 4 and similar old platforms (i.e. with Python 2.3 only)

Revision history for this message
Anders F Björklund (afb) wrote :
Changed in smart:
importance: Undecided → Low
Changed in smart:
milestone: none → 1.2
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Applied in the trip-work branch, thanks!

Changed in smart:
status: New → Fix Committed
Changed in smart:
assignee: nobody → niemeyer
milestone: 1.3 → 1.2
Revision history for this message
Anders F Björklund (afb) wrote :

Released, 2009-03-04

Changed in smart:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.