[pywin32-checkins] pywin32 pywin32_postinstall.py,1.27,1.28
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:39:35
|
Update of /cvsroot/pywin32/pywin32 In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18639 Modified Files: pywin32_postinstall.py Log Message: various syntax modernizations Index: pywin32_postinstall.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/pywin32_postinstall.py,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** pywin32_postinstall.py 13 Nov 2008 03:57:19 -0000 1.27 --- pywin32_postinstall.py 26 Nov 2008 08:39:32 -0000 1.28 *************** *** 317,321 **** files = glob.glob(os.path.join(lib_dir, "pywin32_system32\\*.*")) if not files: ! raise RuntimeError, "No system files to copy!!" # Try the system32 directory first - if that fails due to "access denied", # it implies a non-admin user, and we use sys.prefix --- 317,321 ---- files = glob.glob(os.path.join(lib_dir, "pywin32_system32\\*.*")) if not files: ! raise RuntimeError("No system files to copy!!") # Try the system32 directory first - if that fails due to "access denied", # it implies a non-admin user, and we use sys.prefix *************** *** 354,363 **** % dst print msg ! raise RuntimeError, msg continue raise else: ! raise RuntimeError, \ ! "You don't have enough permissions to install the system files" # Pythonwin 'compiles' config files - record them for uninstall. --- 354,363 ---- % dst print msg ! raise RuntimeError(msg) continue raise else: ! raise RuntimeError( ! "You don't have enough permissions to install the system files") # Pythonwin 'compiles' config files - record them for uninstall. |