fixed TFI

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@537 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-10-05 14:34:15 +00:00
parent 69e2a243d8
commit d8d73ff83d

View File

@@ -266,11 +266,11 @@ def allocateMaskedFile(file):
txtcounter = str(counter)
for x in range(4-len(txtcounter)):
txtcounter = "0"+txtcounter
newfile = os.path.dirname(file)+"/"+".cfg"+txtcounter+"_"+os.path.basename(file)
newfile = os.path.dirname(file)+"/"+"._cfg"+txtcounter+"_"+os.path.basename(file)
if not os.path.exists(newfile):
break
if not newfile:
newfile = os.path.dirname(file)+"/"+".cfg0000_"+os.path.basename(file)
newfile = os.path.dirname(file)+"/"+"._cfg0000_"+os.path.basename(file)
return newfile
# Imported from Gentoo portage_dep.py