change content IDs from 'project/type/page' to 'type/project/page'
This commit is contained in:
parent
c2187ab4bd
commit
17b20eecd8
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ class RedmineBackend(BaseBackend, ICapContent):
|
||||||
id = content.id
|
id = content.id
|
||||||
|
|
||||||
try:
|
try:
|
||||||
project, _type, page = self.id2path(id)
|
_type, project, page = self.id2path(id)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
@ -66,7 +66,7 @@ class RedmineBackend(BaseBackend, ICapContent):
|
||||||
|
|
||||||
def push_content(self, content, message=None):
|
def push_content(self, content, message=None):
|
||||||
try:
|
try:
|
||||||
project, _type, page = self.id2path(content.id)
|
_type, project, page = self.id2path(content.id)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue