Rewrite try: except: finally: so it is python 2.4 friendly

This commit is contained in:
Christian Dywan 2009-01-05 22:08:52 +01:00
parent aebd813c68
commit 25e07232ac

View file

@ -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 != '':