Created
June 8, 2016 06:51
-
-
Save dmitryTsatsarin/98d4b9a1dc5d0fddfcad30e8572da446 to your computer and use it in GitHub Desktop.
Открытие тикета по Alt-F2 в Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import sys | |
import subprocess | |
if len(sys.argv)>1: | |
ticket_number = sys.argv[1] | |
subprocess.check_output("google-chrome https://leverxeu.atlassian.net/browse/EESP01-%s" % ticket_number, shell=True) | |
else: | |
print 'Need to put number of ticket' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment