[banshee] [build] support building even if no sources are defined



commit 3d12a4ea80e889666d60a73792cfb9435c0fa9be
Author: Aaron Bockover <abockover novell com>
Date:   Mon Dec 28 14:33:22 2009 -0500

    [build] support building even if no sources are defined

 build/bundle/build.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/build/bundle/build.py b/build/bundle/build.py
index 193614d..fa365a0 100755
--- a/build/bundle/build.py
+++ b/build/bundle/build.py
@@ -108,8 +108,6 @@ def parse_package (profile, package):
 	
 	if not isinstance (package['sources'], (list, tuple)):
 		sys.exit ('Invalid package %s: \'sources\' node must be a list' % path)
-	elif len (package['sources']) <= 0:
-		sys.exit ('Invalid package %s: no sources defined (empty list)' % path)
 
 	return package, vars
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]