git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@876 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-12-14 18:21:07 +00:00
parent 125fadce84
commit fa3b409c10
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -168,6 +168,10 @@ def sync(options, justTidy = False):
activatorLog.log(ETP_LOGPRI_INFO,ETP_LOGLEVEL_VERBOSE,"sync: removing (local) file "+file)
print_info(green(" * ")+red("Package file: ")+bold(file)+red(" removed successfully from ")+bold(etpConst['packagesbindir']+"/"+mybranch))
os.remove(etpConst['packagesbindir']+"/"+mybranch+"/"+file)
try:
os.remove(etpConst['packagesbindir']+"/"+mybranch+"/"+file+etpConst['packagesexpirationfileext'])
except OSError:
pass
# checksum
if os.path.isfile(etpConst['packagesbindir']+"/"+mybranch+"/"+file+etpConst['packageshashfileext']):
activatorLog.log(ETP_LOGPRI_INFO,ETP_LOGLEVEL_VERBOSE,"sync: removing (local) file "+file+etpConst['packageshashfileext'])
+1 -1
View File
@@ -475,7 +475,7 @@ dbCOUNTER = "COUNTER"
def initConfig_entropyConstants(rootdir):
if not os.path.isdir(rootdir):
if rootdir and not os.path.isdir(rootdir):
raise exceptionTools.FileNotFound("FileNotFound: not a valid chroot.")
ETP_DIR = rootdir+"/var/lib/entropy"