|
|
|
@ -2831,7 +2831,7 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
|
|
|
|
|
absNameFile = os.path.join(dirname,nameFile)
|
|
|
|
|
category,spl,pkgname = dirname.rpartition('/')
|
|
|
|
|
dbpkg,spl,category = category.rpartition('/')
|
|
|
|
|
slot = open(absNameFile,'r').read().strip()
|
|
|
|
|
slot = readFile(absNameFile).strip()
|
|
|
|
|
pkgname,spl,rev = pkgname.rpartition("-")
|
|
|
|
|
if rev.startswith('r'):
|
|
|
|
|
pkgname, spl, ver = pkgname.rpartition("-")
|
|
|
|
|