X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=engine%2Fmanifoldquery.py;h=ab09bfe7c84ec0dd750f0301d980f0d2036bca62;hb=a39d44883f3424d04134e4105873e88336b00795;hp=dfa8b9b3c994638956aac10ad886e20f1719b23f;hpb=0f1e6ec6c7cbf1dd2987c633560ab1102a0d3a41;p=myslice.git diff --git a/engine/manifoldquery.py b/engine/manifoldquery.py index dfa8b9b3..ab09bfe7 100644 --- 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: