[rhmessaging-commits] rhmessaging commits: r1608 - mgmt/mint/python/mint.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Thu Jan 24 16:43:39 EST 2008
Author: justi9
Date: 2008-01-24 16:43:39 -0500 (Thu, 24 Jan 2008)
New Revision: 1608
Modified:
mgmt/mint/python/mint/__init__.py
Log:
Revert the bit masking.
Modified: mgmt/mint/python/mint/__init__.py
===================================================================
--- mgmt/mint/python/mint/__init__.py 2008-01-24 20:22:41 UTC (rev 1607)
+++ mgmt/mint/python/mint/__init__.py 2008-01-24 21:43:39 UTC (rev 1608)
@@ -1,5 +1,4 @@
import socket
-import types
from qpid.management import ManagedBroker
from datetime import *
from sqlobject import *
@@ -137,9 +136,6 @@
def sanitizeDict(self, d):
if ("id" in d):
d[self.convertIdKey("id")] = d.pop("id")
- for (key,val) in d.iteritems():
- if (type(val) is types.LongType and (val & pow(2,63) > 0)):
- d[key] = val & (~ pow(2,63))
return d
def convertIdKey(self, k):
More information about the rhmessaging-commits
mailing list