diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-10-04 15:25:59 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-10-04 15:25:59 +0100 |
commit | 0a5c8216a245ae09a3796c185f1724df17f2a5c3 (patch) | |
tree | 3c242d2fe11a3f50bfa0e9fc0bdf89f8016054f8 /amqp_codegen.py | |
parent | 68b2d8a7e80b7b6a06c029589af01c6c437a4ab6 (diff) | |
download | rabbitmq-codegen-rabbitmq_v2_8_x.tar.gz |
Backport 294e17bead0e (bug25209 - Change to python 3.x support (via 2to3 utility))rabbitmq_v2_8_x
Diffstat (limited to 'amqp_codegen.py')
-rw-r--r-- | amqp_codegen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amqp_codegen.py b/amqp_codegen.py index 5423350..ad57a9f 100644 --- a/amqp_codegen.py +++ b/amqp_codegen.py @@ -119,7 +119,7 @@ mergers = { } def merge_load_specs(filenames, ignore_conflicts): - handles = [file(filename) for filename in filenames] + handles = [open(filename) for filename in filenames] docs = [json.load(handle) for handle in handles] spec = {} for doc in docs: |