Unset basename when removing logs.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 21 Nov 2010 16:21:39 +0000 (17:21 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 21 Nov 2010 16:21:39 +0000 (17:21 +0100)
buildfarm/sqldb.py

index c5d2825002625d2af1be651cca88d0c2a2d43618..ce75c2f62c6a3ce9f92f11aefa0e7f5ed8ad3495 100644 (file)
@@ -71,6 +71,10 @@ class StormBuild(Build):
         super(StormBuild, self).remove()
         Store.of(self).remove(self)
 
+    def remove_logs(self):
+        super(StormBuild, self).remove_logs()
+        self.basename = None
+
 
 class StormHost(Host):
     __storm_table__ = "host"