- we don't like undefined names...

This commit is contained in:
Barış Metin
2005-09-27 17:24:46 +00:00
parent b8e83cb344
commit 9273f73f4f
+1 -1
View File
@@ -351,7 +351,7 @@ class PisiBuild:
if fn.endswith(ctx.const.package_prefix): if fn.endswith(ctx.const.package_prefix):
verstr = fn[len(package_name): verstr = fn[len(package_name):
len(fn)-len(ctx.const.package_prefix)] len(fn)-len(ctx.const.package_prefix)]
if s.count('-') <= 2: if verstr.count('-') <= 2:
return True return True
return False return False