mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
fix typo
This commit is contained in:
parent
e759edebde
commit
4c168a2428
@ -4977,7 +4977,7 @@ def get_user_projpkgs(apiurl, user, role=None, exclude_projects=[], proj=True, p
|
||||
try:
|
||||
res = search(apiurl, **what)
|
||||
except urllib2.HTTPError, e:
|
||||
if e.code != 400 or not role_filter:
|
||||
if e.code != 400 or not role_filter_xpath:
|
||||
raise e
|
||||
# backward compatibility: local role filtering
|
||||
what = dict([[kind, role_filter_xpath] for kind in what.keys()])
|
||||
|
Loading…
Reference in New Issue
Block a user