fix repository| string server-side

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1702 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-11 18:24:15 +00:00
parent fbfe0d6dcb
commit 31a3cc5161
+1 -1
View File
@@ -1176,7 +1176,7 @@ def const_readServerSettings():
if etpConst['branch'] not in etpConst['branches']:
etpConst['branches'].append(etpConst['branch'])
elif (line.find("repository|") != -1) and (len(line.split("|")) == 5):
elif line.startswith("repository|") and (len(line.split("|")) == 5):
repoid = line.split("|")[1].strip()
repodesc = line.split("|")[2].strip()