changeset 1258:adebc2c73ef7

Added dump method to the AbstractTagStore.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Fri, 11 Aug 2006 00:19:34 +0200
parents 5b015ced5609
children a76ce7b95190
files MoinMoin/wikisync.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikisync.py	Thu Aug 10 23:41:22 2006 +0200
+++ b/MoinMoin/wikisync.py	Fri Aug 11 00:19:34 2006 +0200
@@ -50,6 +50,10 @@
         them having accept a page argument at least. """
         pass
 
+    def dump(self):
+        """ Returns all tags for a given item as a string. """
+        return repr(self.get_all_tags())
+
     def add(self, **kwargs):
         """ Adds a Tag object to the current TagStore. """
         print "Got tag for page %r: %r" % (self.page, kwargs)