dabo Commit
Revision 5601
Date: 2010-01-22 07:25:06 -0800 (Fri, 22 Jan 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5601

Changed:
U   trunk/dabo/dApp.py

Log:
Made sure that the name 'hd' was referenced in _getHomeDirectory() before it is 
referenced in code. 


Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2010-01-22 14:39:17 UTC (rev 5600)
+++ trunk/dabo/dApp.py  2010-01-22 15:25:06 UTC (rev 5601)
@@ -1367,6 +1367,8 @@
 
 
        def _getHomeDirectory(self):
+               # start with the current directory as a default
+               hd = os.getcwd()
                try:
                        hd = self._homeDirectory
                except AttributeError:



_______________________________________________
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