1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

python: Change except: statement to except Exception:

This way we only catch true exceptions and keyboard interrupts
are not caught here.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
This commit is contained in:
Amitay Isaacs
2012-01-24 11:54:54 +11:00
committed by Amitay Isaacs
parent be292021f4
commit 1f0298dd1b
9 changed files with 15 additions and 15 deletions

View File

@ -683,7 +683,7 @@ class dc_join(object):
ctx.destination_dsa_guid = destination_dsa_guid
print "Committing SAM database"
except:
except Exception:
ctx.local_samdb.transaction_cancel()
raise
else: