diff options
Diffstat (limited to 'dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch')
-rw-r--r-- | dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch b/dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch new file mode 100644 index 000000000000..c01465dd9140 --- /dev/null +++ b/dev-util/ninja-ide/files/ninja-ide-2.3-python2_6.patch @@ -0,0 +1,27 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Apr 24 21:05:44 UTC 2013 +Subject: fix compatibility with python:2.6 + +--- ninja_ide/core/file_manager.py ++++ ninja_ide/core/file_manager.py +@@ -26,7 +26,7 @@ + + from ninja_ide.core import settings + +-if sys.version_info.major == 3: ++if sys.version_info[0] == 3: + python3 = True + else: + python3 = False + +--- ninja_ide/gui/editor/editor.py ++++ ninja_ide/gui/editor/editor.py +@@ -68,7 +68,7 @@ + logger = NinjaLogger('ninja_ide.gui.editor.editor') + + +-if sys.version_info.major == 3: ++if sys.version_info[0] == 3: + python3 = True + else: + python3 = False |