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:
committed by
Amitay Isaacs
parent
be292021f4
commit
1f0298dd1b
@ -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:
|
||||
|
Reference in New Issue
Block a user