dabo Commit
Revision 4811
Date: 2008-12-10 06:47:28 -0800 (Wed, 10 Dec 2008)
Author: Ed
Trac: http://trac.dabodev.com/dabo/changeset/4811

Changed:
U   trunk/dabo/dApp.py

Log:
Fixed a problem where the app was using the current directory (where the app 
was run from) instead of the HomeDirectory (where the files are actually 
located) to determine its app modules.


Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2008-12-09 23:25:02 UTC (rev 4810)
+++ trunk/dabo/dApp.py  2008-12-10 14:47:28 UTC (rev 4811)
@@ -907,7 +907,7 @@
                Example: f there is a 'biz' directory that can be imported, 
other objects in 
                the system can reference bizobjs using the 
'self.Application.biz' syntax
                """
-               currdir = os.getcwd()
+               currdir = self.HomeDirectory
                currsyspath = sys.path
                if not currdir in sys.path:
                        sys.path.insert(0, currdir)




_______________________________________________
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