changeset 1022:4e65c6eabe9b

Forgot to add the wikisync.py file containing the Tag classes.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Wed, 19 Jul 2006 01:01:08 +0200
parents 05629312d4d7
children 95b16d7c135c
files MoinMoin/wikisync.py
diffstat 1 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/wikisync.py	Wed Jul 19 01:01:08 2006 +0200
@@ -0,0 +1,23 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - Wiki Synchronisation
+
+    @copyright: 2006 by MoinMoin:AlexanderSchremmer
+    @license: GNU GPL, see COPYING for details.
+"""
+
+# XXX add some code here
+class Tag(object):
+    """ This class is used to store information about merging state. """
+    pass
+
+
+class TagStore(object):
+    """ This class manages the storage of tags. """
+
+    def __init__(self, page):
+        self.page = page
+
+    def add(self, **kwargs):
+        # XXX add some code here
+        print "Got tag for page %r: %r" % (self.page, kwargs)