[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/devtools/waf
From: Thomas Nagy <tnagyemail-mail () yahoo ! fr>
Date: 2006-09-21 17:17:48
Message-ID: 1158859068.501898.27667.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 587133 by tnagy:
Unnecessary code.
M +6 -18 waf-light
--- trunk/playground/devtools/waf/waf-light #587132:587133
@@ -218,14 +218,8 @@
break
if 'configure' in sys.argv and candidate:
break
- # in first run Params.g_lockfile is not defined and so is the
- # access to it not possible and throws an exception. For this
- # case we need a try except here.
- try:
- if Params.g_lockfile in dirlst:
- break
- except:
- pass
+ if Params.g_lockfile in dirlst:
+ break
cwd = cwd[:cwd.rfind(os.sep)] # climb up
except:
fatal(msg1)
@@ -284,17 +278,11 @@
sys.exit(0)
except:
pass
- appname = 'noname'
- try:
- appname = Utils.g_module.APPNAME
- except:
- pass
+ try: appname = Utils.g_module.APPNAME
+ except: appname = 'noname'
- version = '1.0'
- try:
- version = Utils.g_module.VERSION
- except:
- pass
+ try: version = Utils.g_module.VERSION
+ except: version = '1.0'
from Scripting import Dist
Dist(appname, version)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic