dabo Commit
Revision 3630
Date: 2007-11-06 14:49:08 -0800 (Tue, 06 Nov 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3630

Changed:
U   trunk/dabo/dApp.py

Log:
Added exception for web update checking for frozen apps when it is the runtime 
engine.


Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2007-11-06 22:02:58 UTC (rev 3629)
+++ trunk/dabo/dApp.py  2007-11-06 22:49:08 UTC (rev 3630)
@@ -389,15 +389,13 @@
                if not force:
                        # Check for cases where we absolutely will not Web 
Update.
                        update = True
-
                        # If they are running Subversion, don't update.
                        if 
os.path.isdir(os.path.join(os.path.split(dabo.__file__)[0], ".svn")):
                                update = False
-
                        # Frozen App:
                        if hasattr(sys, "frozen"):
-                               update = False
-
+                               mainProg = inspect.stack()[-1][1]
+                               update = (mainProg != "daborun.py")
                        if not update:
                                self._setWebUpdate(False)
                                return (False, False)




_______________________________________________
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