dabo Commit
Revision 3566
Date: 2007-10-24 11:31:00 -0700 (Wed, 24 Oct 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3566

Changed:
U   trunk/dabo/dApp.py

Log:
Minor change to help debugging Web Update from my development system; won't 
affect regular users.


Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2007-10-24 16:56:01 UTC (rev 3565)
+++ trunk/dabo/dApp.py  2007-10-24 18:31:00 UTC (rev 3566)
@@ -388,7 +388,7 @@
        def _checkForUpdates(self, force=False):
                # If they are running Subversion, don't update.
                usesSubversion = 
os.path.isdir(os.path.join(os.path.split(dabo.__file__)[0], ".svn"))
-               if usesSubversion:
+               if usesSubversion and not force:
                        self._setWebUpdate(False)
                        return (False, False)
                prf = self._frameworkPrefs
@@ -396,7 +396,7 @@
                retFirstTime = not prf.hasKey("web_update")
                if not retFirstTime:
                        val = prf.getValue
-                       runCheck = False
+                       runCheck = force
                        now = datetime.datetime.now()
                        if not force:
                                webUpdate = val("web_update")




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to