]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/dbconn.py: Don't list install_date twice in not-null constraint.
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 29 May 2012 17:30:53 +0000 (19:30 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Fri, 1 Jun 2012 15:26:50 +0000 (17:26 +0200)
daklib/dbconn.py

index 256ed4a9bd5c1b411be76364d0248c5ae278980b..a31e9167c6cd4671a55274be67188bc39ff0c521 100755 (executable)
@@ -2480,7 +2480,7 @@ class DBSource(ORMObject):
 
     def not_null_constraints(self):
         return ['source', 'version', 'install_date', 'maintainer', \
-            'changedby', 'poolfile', 'install_date']
+            'changedby', 'poolfile']
 
     def read_control_fields(self):
         '''