update etpConst code

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@814 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-12-08 10:27:57 +00:00
parent 549d2ddf54
commit 15c67e1dfe
+1 -6
View File
@@ -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):