summaryrefslogtreecommitdiff
path: root/qpid/python/qmf
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-12-01 19:29:54 +0000
committerTed Ross <tross@apache.org>2008-12-01 19:29:54 +0000
commit77fc3858671839e143f5617c292ee0f407e155ac (patch)
treed9a3dc9c68f1d1a19fdd5c897a24437e7938fbd5 /qpid/python/qmf
parent8d2d0369b7b7ee358ca1f6e7dd80c1eeb48d8e8a (diff)
downloadqpid-python-77fc3858671839e143f5617c292ee0f407e155ac.tar.gz
Replaced nonexistent type "double" with "float". In python, float
represents a double-precision floating point number. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@722191 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/qmf')
-rw-r--r--qpid/python/qmf/console.py2
1 files changed, 1 insertions, 1 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