update-repo parametresiz çalıştırılamaz.
This commit is contained in:
@@ -266,6 +266,10 @@ TODO: Some description...
|
|||||||
super(UpdateRepo, self).__init__()
|
super(UpdateRepo, self).__init__()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
if not self.args:
|
||||||
|
self.help()
|
||||||
|
return
|
||||||
|
|
||||||
self.init_db()
|
self.init_db()
|
||||||
for repo in self.args:
|
for repo in self.args:
|
||||||
pisi.toplevel.update_repo(repo)
|
pisi.toplevel.update_repo(repo)
|
||||||
|
|||||||
Reference in New Issue
Block a user