dbrtools/dbr/dbrresults.py
branchDBRToolsDev
changeset 283 398d483e91bb
parent 242 9fd4819bf104
--- a/dbrtools/dbr/dbrresults.py	Wed Apr 21 22:28:52 2010 +0100
+++ b/dbrtools/dbr/dbrresults.py	Sun Jun 13 15:29:20 2010 +0100
@@ -52,6 +52,8 @@
     self.unknown |= other.unknown
     return self
   
+  def __sub__(self, other):
+    return DBRResults(self.added - other.added, self.removed - other.removed, self.touched - other.touched, self.changed - other.changed, self.unknown - other.unknown)
          
   def printdetail(self):
     for file in sorted(self.added):