dabo Commit
Revision 6099
Date: 2010-10-10 20:12:59 -0700 (Sun, 10 Oct 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6099
Changed:
U trunk/dabo/dApp.py
Log:
I had a symlink to the AppWizard script, but when I ran it, it used the
directory of the symlink and not the directory of the actual script file when
determining HomeDirectory for the app. This caused the AppWizard to fail when
trying to create the files from its standard templates.
Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py 2010-10-11 00:34:31 UTC (rev 6098)
+++ trunk/dabo/dApp.py 2010-10-11 03:12:59 UTC (rev 6099)
@@ -1422,6 +1422,7 @@
# Give up... just assume the
current directory.
hd = os.getcwd()
if calledScript:
+ calledScript =
os.path.realpath(calledScript)
if
calledScript.startswith("./"):
calledScript =
calledScript.lstrip("./")
scriptDir =
os.path.realpath(os.path.split(os.path.join(os.getcwd(), calledScript))[0])
_______________________________________________
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]