update etpConst code
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@814 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -573,14 +573,9 @@ def initConfig_entropyConstants(rootdir):
|
||||
'packagemasking': {}, # package masking information dictionary filled by maskingparser.py
|
||||
|
||||
}
|
||||
for item in myConst:
|
||||
if (type(myConst[item]) is set) or (type(myConst[item]) is dict):
|
||||
etpConst[item] = myConst[item].copy()
|
||||
else:
|
||||
etpConst[item] = myConst[item]
|
||||
etpConst.update(myConst)
|
||||
del myConst
|
||||
|
||||
|
||||
# handle Entropy Version
|
||||
ETP_REVISION_FILE = "../libraries/revision"
|
||||
if os.path.isfile(ETP_REVISION_FILE):
|
||||
|
||||
Reference in New Issue
Block a user