Rewrite try: except: finally: so it is python 2.4 friendly
This commit is contained in:
parent
aebd813c68
commit
25e07232ac
1 changed files with 12 additions and 11 deletions
1
wscript
1
wscript
|
@ -286,6 +286,7 @@ def build (bld):
|
|||
desktop = APPNAME + '.desktop'
|
||||
pre = open (desktop + '.in')
|
||||
after = open (folder + '/' + desktop, 'w')
|
||||
try:
|
||||
try:
|
||||
for line in pre:
|
||||
if line != '':
|
||||
|
|
Loading…
Reference in a new issue