From: Quentin Smith Date: Tue, 7 Jan 2014 03:02:21 +0000 (-0500) Subject: Fix machine UUID assignment after SQLAlchemy started returning Unicode objects. X-Git-Tag: 0.0.53^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/commitdiff_plain/9cef6cd2f99b2a60dd5422804f73987aacee7b32 Fix machine UUID assignment after SQLAlchemy started returning Unicode objects. --- diff --git a/debian/changelog b/debian/changelog index 2f83478..a4ab8b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-xen-config (0.0.53) unstable; urgency=low + + * Fix machine UUID assignment after SQLAlchemy started returning Unicode + objects. + + -- Quentin Smith Mon, 06 Jan 2014 22:02:11 -0500 + invirt-xen-config (0.0.52) UNRELEASED; urgency=low * Fix PVHVM networking diff --git a/invirt-database b/invirt-database index bf1509f..b99b548 100644 --- a/invirt-database +++ b/invirt-database @@ -31,7 +31,7 @@ else: check(re.match('^[A-Za-z0-9][A-Za-z0-9._-]*$', machine.name)) name = prefix + machine_name check(re.match('^[0-9a-f-]+$', machine.uuid)) -uuid = machine.uuid +uuid = str(machine.uuid) vcpus = machine.cpus