Author: remi
Date: 2009-08-09 15:22:13 +0200 (Sun, 09 Aug 2009)
New Revision: 5303

Modified:
   software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py
Log:
* Updated timeout of updates download

Modified: software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py   
2009-08-09 12:34:39 UTC (rev 5302)
+++ software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py   
2009-08-09 13:22:13 UTC (rev 5303)
@@ -197,7 +197,7 @@
         """Check for updates.
         """
         # Wait for connection to internet enabled
-        while not URLTools.URLCheck("http://ftp.kysoh.com";, 1.0):
+        while not URLTools.URLCheck("http://ftp.kysoh.com";, 2.0):
             time.sleep(1.0)
         self.__logger.logInfo("Internet connection is detected")
         # Download conf files
@@ -234,7 +234,7 @@
                     self.__logger.logInfo("\tStart to download the new version 
installer")
                     self.__logger.logInfo("\tFrom [%s]" % installerUrl)
                     self.__logger.logInfo("\tTo [%s]" % installerDest)
-                    if URLTools.URLDownloadToFile(installerUrl, installerDest):
+                    if URLTools.URLDownloadToFile(installerUrl, installerDest, 
9999.0):
                         self.__logger.logInfo("\tNew installer is successfully 
downloaded")
                         destConf = os.path.join(TDS_UPDATES_PATH,
                             UPDATES_PARTS[partName][PART_CONF_DEST])


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to