Bug in Smart

Rocco Orlando Rossi rocco.rossi at gmail.com
Mon Jan 26 14:08:10 PST 2009


Found a small bug in smartpm.

File: apt_deb.py in the smart/channels directory.

Line: 220

Here's the old buggy code:

for component in self._comps:
                item = self._enqueuePackages(fetcher, md5sum, component)
                if item:
                    packages_items.append(item)
                else:
                    iface.warning(_("Component '%s' is not in Release file "
                                    "for channel '%s'") % (comp, self))

There's no such thing as comp in the last line. Changed it to component as
it should be:

for component in self._comps:
                item = self._enqueuePackages(fetcher, md5sum, component)
                if item:
                    packages_items.append(item)
                else:
                    iface.warning(_("Component '%s' is not in Release file "
                                    "for channel '%s'") % (component, self))

That's all.

Keep up the great work.


Rock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20090126/61965488/attachment-0002.htm>


More information about the Smart mailing list