summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-04-06 18:26:22 +0000
committerAlan Conway <aconway@apache.org>2010-04-06 18:26:22 +0000
commit4517306f15bb760814a75797f4b229132114ff6d (patch)
treed19938ebae877e759b59c502b022f70358175aa5 /tools
parent7e080f3ef470dcec94079f3d7e59edbf4c791844 (diff)
downloadqpid-python-4517306f15bb760814a75797f4b229132114ff6d.tar.gz
Remove non-portable @staticmethod from qpid/datatypes.py
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools')
-rwxr-xr-xtools/src/py/qpid-cluster-store4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/py/qpid-cluster-store b/tools/src/py/qpid-cluster-store
index 4599f613d9..0333b371fd 100755
--- a/tools/src/py/qpid-cluster-store
+++ b/tools/src/py/qpid-cluster-store
@@ -19,7 +19,7 @@
# under the License.
#
-from qpid.datatypes import uuid4, UUID
+from qpid.datatypes import uuid4, UUID, parseUUID
import optparse, os.path, sys
op = optparse.OptionParser(
@@ -39,7 +39,7 @@ class ClusterStoreStatus:
def read(self):
f = open(self.file)
- try: self.cluster_id, self.shutdown_id = [UUID.parse(s) for s in f.readlines()]
+ try: self.cluster_id, self.shutdown_id = [parseUUID(s) for s in f.readlines()]
finally: f.close()
def write(self):