* be verbose
This commit is contained in:
+2
-2
@@ -274,12 +274,12 @@ def check(package):
|
|||||||
for file in files.list:
|
for file in files.list:
|
||||||
if file.hash and file.type != "config" \
|
if file.hash and file.type != "config" \
|
||||||
and not os.path.islink('/' + file.path):
|
and not os.path.islink('/' + file.path):
|
||||||
ctx.ui.info(_("Checking %s...") % file.path, True, True)
|
ctx.ui.info(_("Checking %s...") % file.path, False, True)
|
||||||
if file.hash != util.sha1_file('/' + file.path):
|
if file.hash != util.sha1_file('/' + file.path):
|
||||||
corrupt.append(file)
|
corrupt.append(file)
|
||||||
ctx.ui.info("Corrupt file: %s" % file)
|
ctx.ui.info("Corrupt file: %s" % file)
|
||||||
else:
|
else:
|
||||||
ctx.ui.info("OK", True)
|
ctx.ui.info("OK", False)
|
||||||
return corrupt
|
return corrupt
|
||||||
|
|
||||||
def index(dirs, output = 'pisi-index.xml'):
|
def index(dirs, output = 'pisi-index.xml'):
|
||||||
|
|||||||
Reference in New Issue
Block a user