]> git.decadent.org.uk Git - dak.git/commitdiff
Add location_id to return value of str(somelocation).
authorTorsten Werner <twerner@debian.org>
Fri, 28 Jan 2011 22:08:39 +0000 (23:08 +0100)
committerTorsten Werner <twerner@debian.org>
Fri, 28 Jan 2011 22:08:39 +0000 (23:08 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py

index e8a68390c5989bfdffbc655785c413c1d550f33f..3dd73b3c36252d4c0cd7bc9ea63b9ec7e9606a66 100755 (executable)
@@ -1583,7 +1583,8 @@ class Location(ORMObject):
         self.archive_type = 'pool'
 
     def properties(self):
-        return ['path', 'archive_type', 'component', 'files_count']
+        return ['path', 'location_id', 'archive_type', 'component', \
+            'files_count']
 
     def not_null_constraints(self):
         return ['path', 'archive_type']