]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix typoed exception name
authorZack Cerza <zack@redhat.com>
Wed, 21 Oct 2015 21:00:02 +0000 (15:00 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 21 Oct 2015 21:00:02 +0000 (15:00 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/lock.py

index b332cdb13863b8837603fb57a247c9a42d1ce1ca..688849c30294a0174138a69c24bb556030e800b3 100644 (file)
@@ -521,7 +521,7 @@ def unlock_one(ctx, name, user, description=None):
                 response = requests.put(uri, json.dumps(request))
                 break
             # Work around https://github.com/kennethreitz/requests/issues/2364
-            except requests.exception.ConnectionError as e:
+            except requests.ConnectionError as e:
                 log.warn("Saw %s while unlocking; retrying...", str(e))
     success = response.ok
     if success: