Author: remi
Date: 2009-09-16 11:00:30 +0200 (Wed, 16 Sep 2009)
New Revision: 5408

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py
Log:
* Fixed bug on ugc creations. 2 ugcs created in the same msec had a chance to 
have the same uuid.

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py
        2009-09-16 08:43:30 UTC (rev 5407)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/03_resourceUgcServer.py
        2009-09-16 09:00:30 UTC (rev 5408)
@@ -148,6 +148,7 @@
                     self.__ugcContainer, self.__ugcContainer.getLanguage(),
                     resourcesManager)
                 self.insertTemporaryServedUgcInContainer(ugcUrl)
+                time.sleep(0.015)
 
     def removeGadgetsWithoutChildren(self):
         """Remove the gadgets without UGC children.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to