devel-project: ensure self does not end up in list.
Otherwise, openSUSE:Factory ends up in the list and causes undesirable results when using the requires sub-command.
This commit is contained in:
parent
4217ab7fd2
commit
a3d840a653
@ -66,6 +66,9 @@ def devel_projects_get(apiurl, project):
|
|||||||
if devel is not None:
|
if devel is not None:
|
||||||
devel_projects[devel.attrib['project']] = True
|
devel_projects[devel.attrib['project']] = True
|
||||||
|
|
||||||
|
# Ensure self does not end up in list.
|
||||||
|
del devel_projects[project]
|
||||||
|
|
||||||
return sorted(devel_projects)
|
return sorted(devel_projects)
|
||||||
|
|
||||||
def list(args):
|
def list(args):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user