fix broken API

This commit is contained in:
Romain Bignon 2011-02-17 18:42:18 +01:00
commit 0b1a445027

View file

@ -64,7 +64,7 @@ class RedmineBackend(BaseBackend, ICapContent):
content.content = data content.content = data
return content return content
def push_content(self, content, message=None): def push_content(self, content, message=None, minor=False):
try: try:
_type, project, page = self.id2path(content.id) _type, project, page = self.id2path(content.id)
except ValueError: except ValueError:
@ -80,4 +80,4 @@ class RedmineBackend(BaseBackend, ICapContent):
return return
with self.browser: with self.browser:
return self.browser.get_wiki_preview(project, page, content.content) return self.browser.get_wiki_preview(project, page, content.content)