diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2009-02-24 20:47:42 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2009-02-24 20:47:42 +0530 |
commit | 2cfa0c6a7ceb997de860958157c6bab90f5b6138 (patch) | |
tree | 528ad667cd3805e248876eab40a5b4c1e0367f01 /master | |
parent | Let people edit the current status of master-install manually (diff) | |
download | autotua-master.tar.gz autotua-master.tar.bz2 autotua-master.zip |
This behaviour will change in Python 3.0, so we should make sure it's explicit
right now.
Diffstat (limited to 'master')
-rw-r--r-- | master/master/slave_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/master/master/slave_api.py b/master/master/slave_api.py index c1d750d..ea7cc8a 100644 --- a/master/master/slave_api.py +++ b/master/master/slave_api.py @@ -71,7 +71,7 @@ def get_pubkey(request): pubkey_file = '%s/autotua_master.asc' % const.GPGHOME try: pubkey = open(pubkey_file) - except IOError, OSError: + except (IOError, OSError): crypto = crypt.Crypto(gpghome=const.GPGHOME) crypto.export_pubkey(pubkey_file, 'AutotuA Master') pubkey = open(pubkey_file) |