From: Julian Ospald 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