compare_pkglist: fallback to old route if submitfrom and submitto has not defined
This commit is contained in:
parent
913531e12b
commit
9f5a0aa079
@ -133,6 +133,7 @@ class CompareList(object):
|
|||||||
if (self.submitfrom and not self.submitto) or (self.submitto and not self.submitfrom):
|
if (self.submitfrom and not self.submitto) or (self.submitto and not self.submitfrom):
|
||||||
print("** Please give both --submitfrom and --submitto parameter **")
|
print("** Please give both --submitfrom and --submitto parameter **")
|
||||||
return
|
return
|
||||||
|
if self.submitfrom and self.submitto:
|
||||||
if not self.item_exists(self.submitfrom):
|
if not self.item_exists(self.submitfrom):
|
||||||
print("Project %s is not exist"%self.submitfrom)
|
print("Project %s is not exist"%self.submitfrom)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user