Commits

Erik van Zijst committed 984794c

Added __str__.

Comments (0)

Files changed (1)

interruptingcow/__init__.py

         self._depth = 0
         self._starttime = None
 
+    def __str__(self):
+        return '<Quota remaining=%s>' % self.remaining()
+
     def _start(self):
         if self._depth is 0:
             self._starttime = time.time()