diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-08-05 18:03:37 -0300 |
---|---|---|
committer | Mark J. Washenberger <mark.washenberger@markwash.net> | 2013-08-10 10:49:11 -0700 |
commit | 1f2eef510f61ef90be4868c0e67c1e0861613b7d (patch) | |
tree | dc51cb4bb3a057a873e02a73cde96908b666409b /glanceclient/common/utils.py | |
parent | eb47b55dbd078aea4eedcc70ad44d189510c6644 (diff) | |
download | python-glanceclient-1f2eef510f61ef90be4868c0e67c1e0861613b7d.tar.gz |
Updated from global requirements
Change-Id: I2e2bd3a38458e1307bcc0410da74dc76c0a5987a
Diffstat (limited to 'glanceclient/common/utils.py')
-rw-r--r-- | glanceclient/common/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/common/utils.py b/glanceclient/common/utils.py index 82360df..88f7621 100644 --- a/glanceclient/common/utils.py +++ b/glanceclient/common/utils.py @@ -212,7 +212,7 @@ def get_file_size(file_obj): size = file_obj.tell() file_obj.seek(curr) return size - except IOError, e: + except IOError as e: if e.errno == errno.ESPIPE: # Illegal seek. This means the file object # is a pipe (e.g the user is trying |