dabo Commit
Revision 4491
Date: 2008-08-31 18:17:47 -0700 (Sun, 31 Aug 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4491

Changed:
U   trunk/dabo/__init__.py

Log:
Changed the order so that the debugout method is defined before the 
sub-packages are imported. 


Diff:
Modified: trunk/dabo/__init__.py
===================================================================
--- trunk/dabo/__init__.py      2008-08-31 02:08:07 UTC (rev 4490)
+++ trunk/dabo/__init__.py      2008-09-01 01:17:47 UTC (rev 4491)
@@ -164,11 +164,6 @@
 from dApp import dApp
 from dPref import dPref
 
-# Make sure dabo.db, dabo.biz, and dabo.ui are imported:
-import dabo.db
-import dabo.biz
-import dabo.ui
-
 def debugout(*args):
        txtargs = [unicode(arg) for arg in args]
        txt = " ".join(txtargs)
@@ -181,8 +176,13 @@
 # to their code for debugging.
 # (I added 'debugo' as an homage to Whil Hentzen!)
 import __builtin__
-__builtin__.debugo = __builtin__.debugout = dabo.debugout
+__builtin__.debugo = __builtin__.debugout = debugout
 
+# Make sure dabo.db, dabo.biz, and dabo.ui are imported:
+import dabo.db
+import dabo.biz
+import dabo.ui
+
 # Store the base path to the framework
 frameworkPath = os.path.dirname(dabo.__file__)
 




_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to