Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
1.9.3 version does not work #221
Since 1.9.3 version app does not want to start.
Traceback (most recent call last): File "./bin/git-cola", line 48, in <module> from cola import cmds File "/Users/username/Downloads/git-cola/cola/cmds.py", line 12, in <module> from cola import difftool File "/Users/username/Downloads/git-cola/cola/difftool.py", line 1, in <module> from PyQt4 import QtGui ImportError: No module named PyQt4
I know almost nothing about python and by this reason I dont want to fork project and open PR but next patch fixes issue. I hope this will be helpful for you.
diff --git a/bin/git-cola b/bin/git-cola index 6b299f4..aecd02c 100755 --- a/bin/git-cola +++ b/bin/git-cola @@ -45,11 +45,10 @@ def setup_environment(): setup_environment() from cola import core -from cola import cmds from cola.app import add_common_arguments from cola.app import application_init from cola.app import application_start - +from cola import cmds def main(): # we're using argparse with subparser, but argparse