]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/dbconn.py
Add location_id to return value of str(somelocation).
[dak.git] / 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']