~mordred/nova/volume-cleanup

« back to all changes in this revision

Viewing changes to nova/scheduler/zone_aware_scheduler.py

  • Committer: Tarmac
  • Author(s): Matthew Hooker
  • Date: 2011-07-29 19:48:58 UTC
  • mfrom: (1336.2.13 pylint-fixes)
  • Revision ID: tarmac-20110729194858-jpt7ggbes5v1z1fz
Fix various errors discovered by pylint and pyflakes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        decryptor = crypto.decryptor(FLAGS.build_plan_encryption_key)
82
82
        try:
83
83
            json_entry = decryptor(blob)
84
 
            return json.dumps(entry)
 
84
            return json.dumps(json_entry)
85
85
        except M2Crypto.EVP.EVPError:
86
86
            pass
87
87
        return None