diff options
-rw-r--r-- | qpid/python/qmf/console.py | 2 | ||||
-rw-r--r-- | qpid/python/qpid/management.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/qmf/console.py b/qpid/python/qmf/console.py index 9f5f621ba0..827a28d891 100644 --- a/qpid/python/qmf/console.py +++ b/qpid/python/qmf/console.py @@ -630,7 +630,7 @@ class Session: elif typecode == 10: value.encode (codec) # REF elif typecode == 11: codec.write_uint8 (int(value)) # BOOL elif typecode == 12: codec.write_float (float(value)) # FLOAT - elif typecode == 13: codec.write_double (double(value)) # DOUBLE + elif typecode == 13: codec.write_double (float(value)) # DOUBLE elif typecode == 14: codec.write_uuid (value.bytes) # UUID elif typecode == 15: codec.write_map (value) # FTABLE elif typecode == 16: codec.write_int8 (int(value)) # S8 diff --git a/qpid/python/qpid/management.py b/qpid/python/qpid/management.py index 4a87d2d533..477f3e8f2b 100644 --- a/qpid/python/qpid/management.py +++ b/qpid/python/qpid/management.py @@ -450,7 +450,7 @@ class managementClient: elif typecode == 12: # FLOAT codec.write_float (float (value)) elif typecode == 13: # DOUBLE - codec.write_double (double (value)) + codec.write_double (float (value)) elif typecode == 14: # UUID codec.write_uuid (value) elif typecode == 15: # FTABLE |