dabo Commit
Revision 7296
Date: 2012-12-28 18:12:19 -0800 (Fri, 28 Dec 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7296
Changed:
U trunk/ide/wizards/QuickLayoutWizard.py
Log:
Running QuickLayoutWizard results in import errors due to the
class designer components not being in the pythonpath. This
at least shows a nice message...
Diff:
Modified: trunk/ide/wizards/QuickLayoutWizard.py
===================================================================
--- trunk/ide/wizards/QuickLayoutWizard.py 2012-12-28 03:46:54 UTC (rev
7295)
+++ trunk/ide/wizards/QuickLayoutWizard.py 2012-12-29 02:12:19 UTC (rev
7296)
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+import sys
+if __name__ == "__main__":
+ sys.exit("This isn't meant to be run stand-alone. Please run
ide/ClassDesigner.py instead.")
import os
import time
import dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]