git » wikiri » commit 4c3e7ac

Minor touches to NoneBackend() so it has a compatible interface.

author Alberto Bertogli
2007-12-31 03:57:05 UTC
committer Alberto Bertogli
2007-12-31 03:57:05 UTC
parent 3dfb8798815534dc57c6e46130919bf13c4edea3

Minor touches to NoneBackend() so it has a compatible interface.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

wikiri.cgi +3 -3

diff --git a/wikiri.cgi b/wikiri.cgi
index 47a9da5..d3f2850 100755
--- a/wikiri.cgi
+++ b/wikiri.cgi
@@ -633,7 +633,7 @@ class History:
 		if history == 'git':
 			self.be = GitBackend(data_path)
 		else:
-			self.be = NoneBackend()
+			self.be = NoneBackend(data_path)
 
 	def commit(self, msg, author = 'Wikiri <somebody@wikiri>'):
 		self.be.commit(msg, author = author)
@@ -657,10 +657,10 @@ class NoneBackend:
 	def __init__(self, repopath):
 		pass
 
-	def commit(self, *args):
+	def commit(self, *args, **kwargs):
 		pass
 
-	def log(self, *args):
+	def log(self, *args, **kwargs):
 		return ()
 
 	def add(self, *files):