git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
and i was laughing when the doc said you had to replace mysite with my own name
[unfold.git]
/
engine
/
manifoldquery.py
diff --git
a/engine/manifoldquery.py
b/engine/manifoldquery.py
index
dfa8b9b
..
ab09bfe
100644
(file)
--- a/
engine/manifoldquery.py
+++ b/
engine/manifoldquery.py
@@
-1,8
+1,8
@@
import json
+import uuid
-# xxx php has uniqid, need to find a module for that
-counter=1
-def uniqid (): global counter; counter += 1; return counter
+def uniqid ():
+ return uuid.uuid4().hex
class ManifoldQuery: