From 89b492cf4847ac930cd112ca16ae9e2786d4976f Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 1 Dec 2008 19:29:54 +0000 Subject: 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/qpid@722191 13f79535-47bb-0310-9956-ffa450edef68 --- python/qmf/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/qmf') diff --git a/python/qmf/console.py b/python/qmf/console.py index 9f5f621ba0..827a28d891 100644 --- a/python/qmf/console.py +++ b/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 -- cgit v1.2.1