aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-12 17:21:00 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-12 19:28:48 +0200
commitf07f9d6dd3b5afdb7217ad5a1fedd62588e46782 (patch)
treeb00541e0bc7d1e2679e53f521f29cc7140eab283
parentFix imports/code for portage 2.2 (diff)
downloadcollagen-f07f9d6dd3b5afdb7217ad5a1fedd62588e46782.tar.gz
collagen-f07f9d6dd3b5afdb7217ad5a1fedd62588e46782.tar.bz2
collagen-f07f9d6dd3b5afdb7217ad5a1fedd62588e46782.zip
Fix non-null problem when no of deps worked
When package.version was set to None db layer complained about NULL constraint
-rw-r--r--src/tinderbox/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index 39fb9e6..3d39493 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -160,6 +160,7 @@ class Tinderbox(object):
except IOError, e:
log.error("Loading package_infos file failed, something has gone wrong in subprocess apparently")
package.attachments["error"] = "Loading package_infos failed, package was not compiled with any dependency combination"
+ package.version = 'all'
package_infos = [package.get_info()]
msg = protocol.AddPackageInfo(package_infos)