build: Return an empty list instead of None

Also remove a debug line.
This commit is contained in:
Fatih Aşıcı
2010-10-08 11:44:54 +00:00
parent 8682f6e0ec
commit 3b95fc918e
+1 -3
View File
@@ -1089,13 +1089,11 @@ class Builder:
os.environ.clear()
os.environ.update(ctx.config.environ)
print self.delta_map
def build_delta_packages(self, package, outdir):
max_delta_count = int(ctx.config.values.build.max_delta_count)
if not max_delta_count:
return
return []
old_package_dirs = (ctx.config.compiled_packages_dir(),
ctx.config.debug_packages_dir(),