Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local variable 'restrict' referenced before assignment #13

Closed
Enlik opened this issue Dec 1, 2014 · 1 comment
Closed

local variable 'restrict' referenced before assignment #13

Enlik opened this issue Dec 1, 2014 · 1 comment

Comments

@Enlik
Copy link

Enlik commented Dec 1, 2014

Looks like it was broken in 27f61fd. :)

# pmerge -NuDav --debug
 * Scanning for changed USE...
Unhandled Exception occurred:
Traceback follows:
  File "/usr/lib/python2.7/site-packages/pkgcore/util/commandline.py", line 839, in main
    exitstatus = main_func(options, out, err)
  File "/usr/lib/python2.7/site-packages/pkgcore/scripts/pmerge.py", line 474, in main
    for inst_pkg in installed_repos.itermatch(restrict):

Error was:
 local variable 'restrict' referenced before assignment
@radhermit
Copy link
Contributor

Note that this doesn't actually make the -N option work as expected in all cases, but that's a resolver issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants