[packagekit] Enums in Python

Richard Hughes hughsient at gmail.com
Tue Nov 6 12:51:59 PST 2007


On Tue, 2007-11-06 at 21:26 +0100, Tom Parker wrote:
> but I've fixed that now and committed

[hughsie at hughsie-laptop PackageKit]$ sudo /usr/share/PackageKit/helpers/yum/search-name.py none power
allow-interrupt true
no-percentage-updates
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/search-name.py", line 21, in <module>
    backend.search_name(options,searchterms)
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 371, in search_name
    self._do_search(searchlist, filters, key)
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 305, in _do_search
    if FILTER_NON_INSTALLED not in fltlist:
NameError: global name 'FILTER_NON_INSTALLED' is not defined

Any ideas?

Richard.





More information about the PackageKit mailing list