Switching uuid4()[1:4] -> uuid4().hex[:4]
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 23 Jan 2013 21:15:22 +0000 (15:15 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 23 Jan 2013 21:15:22 +0000 (15:15 -0600)
commit266b42b3dc7697801f726875e1a734b9e4ba7dc9
treeb38b45627b24031582522e8028267322ad9382fa
parent985871095e873aca1e160a7eea4ad97f4b80de18
Switching uuid4()[1:4] -> uuid4().hex[:4]

.hex is what we need to access to get at the ascii (hex) version
anyway.  Also, not sure why the previous version grabbed starting at
the index of 1... just grab the first characters instead.
mediagoblin/db/mixin.py