Commits

matysek  committed 834bb80

sys.getwindowsversion - remove compatibility code

git-svn-id: file:///tmp/pyinstaller-svn/trunk@1717 6d373633-9ee7-468a-befa-14b9e37bb2df

  • Participants
  • Parent commits 71d1ea9

Comments (0)

Files changed (1)

File PyInstaller/utils/winmanifest.py

     logger.warn("unavailable. To enable resource access, please install ")
     logger.warn("http://sourceforge.net/projects/pywin32/")
 
-try:
-    # Python 2.3+
-    sys.getwindowsversion
-except AttributeError:
-    def getwindowsversion():
-        import win32api
-        return win32api.GetVersionEx(0)
-    sys.getwindowsversion = getwindowsversion
 
 LANGUAGE_NEUTRAL_NT5 = "x-ww"
 LANGUAGE_NEUTRAL_NT6 = "none"