MAINT: Use Python 3 compatible uuid hex property.

Instead of `uuid`'s `get_hex()` use `hex` which is available in
both Python 2.7 and Python 3.

From: @chinux23, Chen Huang <chen_huang@apple.com>
This commit is contained in:
Eddie Hebert
2013-07-02 16:07:07 -04:00
parent 158988d184
commit 4c42e5a6d7
+1 -1
View File
@@ -212,7 +212,7 @@ class Order(object):
self.type = zp.DATASOURCE_TYPE.ORDER
def make_id(self):
return uuid.uuid4().get_hex()
return uuid.uuid4().hex
def to_dict(self):
py = copy(self.__dict__)