summaryrefslogtreecommitdiffstats
path: root/Demo/pdist/cvslib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/pdist/cvslib.py')
-rwxr-xr-xDemo/pdist/cvslib.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Demo/pdist/cvslib.py b/Demo/pdist/cvslib.py
index 61c7475..bd99411 100755
--- a/Demo/pdist/cvslib.py
+++ b/Demo/pdist/cvslib.py
@@ -50,6 +50,13 @@ class Entry:
return hexify(self.sum)
else:
return None
+
+ def dump(self):
+ keys = self.__dict__.keys()
+ keys.sort()
+ for key in keys:
+ print "%-15s: %s" % (key, `self.__dict__[key]`)
+ print '-'*45
class CVS: