From 1fc779e8ed3faf8cdc390fb0e42eb1c2c39e0e08 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 6 Feb 2013 21:37:30 +0100 Subject: [PATCH] use CAPS --- scripts/check_dependencies.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check_dependencies.py b/scripts/check_dependencies.py index 4b56acb63..2035d1bb0 100755 --- a/scripts/check_dependencies.py +++ b/scripts/check_dependencies.py @@ -46,7 +46,7 @@ try: except ImportError: pass -is_win = sys.platform.startswith('win') +IS_WIN = sys.platform.startswith('win') VERS = { 'Python': '2.6', @@ -54,7 +54,7 @@ VERS = { 'Qt4': '4.6', 'sqlalchemy': '0.5', # pyenchant 1.6 required on Windows - 'enchant': '1.6' if is_win else '1.3' + 'enchant': '1.6' if IS_WIN else '1.3' } # pywin32 @@ -183,7 +183,7 @@ def main(): for m in OPTIONAL_MODULES: check_module(m[0], text=m[1]) - if is_win: + if IS_WIN: print('Checking for Windows specific modules...') for m in WIN32_MODULES: check_module(m)