Skip to content
Snippets Groups Projects
Commit a4df0f2d authored by Davies Liu's avatar Davies Liu
Browse files

Fix install jira-python

jira-pytyhon package should be installed by

  sudo pip install jira

cc pwendell

Author: Davies Liu <davies@databricks.com>

Closes #6367 from davies/fix_jira_python2 and squashes the following commits:

fbb3c8e [Davies Liu] Fix install jira-python
parent be47af1b
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ try: ...@@ -27,7 +27,7 @@ try:
from jira.exceptions import JIRAError from jira.exceptions import JIRAError
except ImportError: except ImportError:
print "This tool requires the jira-python library" print "This tool requires the jira-python library"
print "Install using 'sudo pip install jira-python'" print "Install using 'sudo pip install jira'"
sys.exit(-1) sys.exit(-1)
try: try:
......
...@@ -28,7 +28,7 @@ try: ...@@ -28,7 +28,7 @@ try:
import jira.client import jira.client
except ImportError: except ImportError:
print "This tool requires the jira-python library" print "This tool requires the jira-python library"
print "Install using 'sudo pip install jira-python'" print "Install using 'sudo pip install jira'"
sys.exit(-1) sys.exit(-1)
# User facing configs # User facing configs
......
...@@ -426,7 +426,7 @@ def main(): ...@@ -426,7 +426,7 @@ def main():
print "JIRA_USERNAME and JIRA_PASSWORD not set" print "JIRA_USERNAME and JIRA_PASSWORD not set"
print "Exiting without trying to close the associated JIRA." print "Exiting without trying to close the associated JIRA."
else: else:
print "Could not find jira-python library. Run 'sudo pip install jira-python' to install." print "Could not find jira-python library. Run 'sudo pip install jira' to install."
print "Exiting without trying to close the associated JIRA." print "Exiting without trying to close the associated JIRA."
if __name__ == "__main__": if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment