[packagekit] Repo Controls

Richard Hughes hughsient at gmail.com
Tue Oct 23 03:55:58 PDT 2007


On Mon, 2007-10-22 at 12:25 +0200, Tim Lauridsen wrote:
> get-repo-list & repo-enable is implemented for the yum backend.

[hughsie at hughsie-laptop PackageKit]$ sudo backends/yum/helpers/repo-enable.py moomooshouldnotexist false
Traceback (most recent call last):
  File "backends/yum/helpers/repo-enable.py", line 18, in <module>
    backend.repo_enable(repoid,state)
  File "/home/hughsie/Code/PackageKit/backends/yum/helpers/yumBackend.py", line 746, in repo_enable
    except Errors.RepoError,e:
NameError: global name 'Errors' is not defined

Could we please have an error ERROR_REPO_NOT_FOUND or something like
that in this case - thanks.

Richard.





More information about the PackageKit mailing list