fix #2336
This commit is contained in:
@@ -824,6 +824,8 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
|
self.init(database=False)
|
||||||
|
|
||||||
if len(self.args)==2 or len(self.args)==0:
|
if len(self.args)==2 or len(self.args)==0:
|
||||||
self.init()
|
self.init()
|
||||||
if len(self.args)==2:
|
if len(self.args)==2:
|
||||||
@@ -857,6 +859,8 @@ Remove all repository information from the system.
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
|
self.init(database=False)
|
||||||
|
|
||||||
if len(self.args)>=1:
|
if len(self.args)>=1:
|
||||||
self.init()
|
self.init()
|
||||||
for repo in self.args:
|
for repo in self.args:
|
||||||
|
|||||||
Reference in New Issue
Block a user