Skip to content
This repository was archived by the owner on Nov 26, 2018. It is now read-only.

Commit 269b484

Browse files
authored
Update jira.py
1 parent 8456ebc commit 269b484

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

botbot_plugins/plugins/jira.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class Config(config.BaseConfig):
11-
jira_link = config.Field(help_text="Jira Link, eg: 'https://tickets.metabrainz.org'", default="https://tickets.metabrainz.org")
11+
jira_link = config.Field(help_text="Jira Link, eg: 'https://tickets.metabrainz.org'")
1212
rest_api_suffix = config.Field(help_text="Suffix for the Jira REST API, eg: 'rest/api/2/project'", default="rest/api/2/project")
1313

1414
class Plugin(BasePlugin):
@@ -62,8 +62,4 @@ def update_projects(self, line):
6262
projects = [project['key'] for project in json.loads(response.text)]
6363
self.store('projects', json.dumps(projects))
6464
return "Successfully updated projects list"
65-
return "Could not update projects list"
66-
67-
68-
69-
65+
return "Could not update projects list"

0 commit comments

Comments
 (0)