use the right method to get project
This commit is contained in:
parent
638de3201e
commit
3fd1ff81df
1 changed files with 2 additions and 2 deletions
|
|
@ -290,11 +290,11 @@ class RedmineBackend(BaseBackend, ICapContent, ICapBugTracker, ICapCollection):
|
|||
def get_project(self, id):
|
||||
try:
|
||||
with self.browser:
|
||||
params = self.browser.get_issue(id)
|
||||
params = self.browser.get_project(id)
|
||||
except BrowserHTTPNotFound:
|
||||
return None
|
||||
|
||||
return self._build_project(params['project'])
|
||||
return self._build_project(params)
|
||||
|
||||
def fill_issue(self, issue, fields):
|
||||
return self.get_issue(issue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue