aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-30 22:28:34 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-31 10:51:32 +0200
commita9d7ab571bfd58eb645fcb72e5cc35c985074326 (patch)
tree6b3a70712282cac8cb08060e4ace136f2c37388b
parentFixed settings for database (diff)
downloadcollagen-a9d7ab571bfd58eb645fcb72e5cc35c985074326.tar.gz
collagen-a9d7ab571bfd58eb645fcb72e5cc35c985074326.tar.bz2
collagen-a9d7ab571bfd58eb645fcb72e5cc35c985074326.zip
[db] fixed add_packageproperties return value
-rw-r--r--src/matchbox/db/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/matchbox/db/__init__.py b/src/matchbox/db/__init__.py
index 23821be..0a4eeab 100644
--- a/src/matchbox/db/__init__.py
+++ b/src/matchbox/db/__init__.py
@@ -262,6 +262,7 @@ class DjangoDB(object):
tinderbox=tinderbox,
error_code=error_code)
pp.save()
+ return pp.id
@dbquery
def add_useflags_to_packageproperies(self, packageproperties_id, useflag_ids):