strict check for scandata
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@929 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
+5
-4
@@ -206,10 +206,11 @@ def loadconfcache():
|
||||
if not etpUi['quiet']: print_info(red(" @@ ")+blue("Caching not run."))
|
||||
return
|
||||
if not etpUi['quiet']: print_info(red(" @@ ")+blue("Caching complete."))
|
||||
if len(scandata) > 0:
|
||||
if not etpUi['quiet']:
|
||||
print_warning(darkgreen("There are "+str(len(scandata))+" configuration file(s) that need(s) to be updated."))
|
||||
print_warning(red("Please run: ")+bold("equo conf update"))
|
||||
if scandata: # can be None
|
||||
if len(scandata) > 0: # strict check
|
||||
if not etpUi['quiet']:
|
||||
print_warning(darkgreen("There are "+str(len(scandata))+" configuration file(s) that need(s) to be updated."))
|
||||
print_warning(red("Please run: ")+bold("equo conf update"))
|
||||
|
||||
try:
|
||||
rc = 0
|
||||
|
||||
Reference in New Issue
Block a user