[entropy.dep] in dep_get_match_in_repos, use repository prefix constant stored in etpConst

This commit is contained in:
Fabio Erculiani
2011-03-21 16:23:00 +01:00
parent d5758311ff
commit c54caa33f2
+1 -1
View File
@@ -452,7 +452,7 @@ def dep_get_match_in_repos(mydep):
@return:
@rtype:
"""
colon = mydep.rfind("@")
colon = mydep.rfind(etpConst['entropyrepoprefix'])
if colon != -1:
mydata = mydep[colon+1:]
mydata = mydata.split(",")