fix diff generation and generateDependencyTree() inside deptest function
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@579 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -150,7 +150,7 @@ def update():
|
||||
continue
|
||||
# end check
|
||||
|
||||
diff = showdiff(scandata[cmd]['source'],scandata[cmd]['destination'])
|
||||
diff = showdiff(scandata[cmd]['destination'],scandata[cmd]['source'])
|
||||
if (not diff):
|
||||
print_info(darkred("Automerging file ")+darkgreen(scandata[cmd]['source']))
|
||||
os.rename(scandata[cmd]['source'],scandata[cmd]['destination'])
|
||||
|
||||
@@ -2486,7 +2486,7 @@ def dependenciesTest(quiet = False, ask = False, pretend = False):
|
||||
atom = clientDbconn.retrieveAtom(xidpackage)
|
||||
if (not quiet):
|
||||
print_info(darkred(" @@ ")+bold("(")+blue(str(count))+"/"+red(length)+bold(")")+darkgreen(" Checking ")+bold(atom), back = True)
|
||||
deptree, status = generateDependencyTree([xidpackage,0])
|
||||
deptree, status = generateDependencyTree((xidpackage,0))
|
||||
|
||||
if (status == 0):
|
||||
# skip conflicts
|
||||
|
||||
Reference in New Issue
Block a user