Skip to content

Commit

Permalink
Merge "Use Python 3.x compatible except construct"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Jun 19, 2013
2 parents 12ad2aa + 646096a commit 1482c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cinder/scheduler/scheduler_options.py
Expand Up @@ -76,7 +76,7 @@ def _load_file(self, handle):
"""Decode the JSON file. Broken out for testing."""
try:
return json.load(handle)
except ValueError, e:
except ValueError as e:
LOG.exception(_("Could not decode scheduler options: '%s'") % e)
return {}

Expand Down

0 comments on commit 1482c40

Please sign in to comment.