daboide Commit
Revision 571
Date: 2006-05-14 20:31:16 -0700 (Sun, 14 May 2006)
Author: paul
Changed:
U trunk/wizards/AppWizard/spec-App.py
U trunk/wizards/AppWizard/spec-Biz.py
U trunk/wizards/AppWizard/spec-BizBase.py
U trunk/wizards/AppWizard/spec-Frm.py
U trunk/wizards/AppWizard/spec-FrmBase.py
U trunk/wizards/AppWizard/spec-FrmMain.py
U trunk/wizards/AppWizard/spec-FrmReportBase.py
U trunk/wizards/AppWizard/spec-FrmReportSample.py
U trunk/wizards/AppWizard/spec-Grd.py
U trunk/wizards/AppWizard/spec-GrdBase.py
U trunk/wizards/AppWizard/spec-MenFileOpen.py
U trunk/wizards/AppWizard/spec-MenReports.py
U trunk/wizards/AppWizard/spec-PagBase.py
U trunk/wizards/AppWizard/spec-PagEdit.py
U trunk/wizards/AppWizard/spec-PagEditBase.py
U trunk/wizards/AppWizard/spec-PagSelect.py
U trunk/wizards/AppWizard/spec-PagSelectBase.py
U trunk/wizards/AppWizard/spec-__version__.py
U trunk/wizards/AppWizard/spec-biz__init__.py
U trunk/wizards/AppWizard/spec-db__init__.py
U trunk/wizards/AppWizard/spec-getSampleDataSet.py
U trunk/wizards/AppWizard/spec-main.py
U trunk/wizards/AppWizard/spec-setup.py
U trunk/wizards/AppWizard/spec-ui__init__.py
Log:
Added utf-8 encoding lines to all the generated appwizard files, and added
a shebang line to the main script. Thanks Henning Hraban Ramm for the
suggestion!
Diff:
Modified: trunk/wizards/AppWizard/spec-App.py
===================================================================
--- trunk/wizards/AppWizard/spec-App.py 2006-05-14 18:16:18 UTC (rev 570)
+++ trunk/wizards/AppWizard/spec-App.py 2006-05-15 03:31:16 UTC (rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
dabo.ui.loadUI("wx")
import ui
Modified: trunk/wizards/AppWizard/spec-Biz.py
===================================================================
--- trunk/wizards/AppWizard/spec-Biz.py 2006-05-14 18:16:18 UTC (rev 570)
+++ trunk/wizards/AppWizard/spec-Biz.py 2006-05-15 03:31:16 UTC (rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
from Base import Base
Modified: trunk/wizards/AppWizard/spec-BizBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-BizBase.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-BizBase.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.lib.datanav as datanav
class Base(datanav.Bizobj):
Modified: trunk/wizards/AppWizard/spec-Frm.py
===================================================================
--- trunk/wizards/AppWizard/spec-Frm.py 2006-05-14 18:16:18 UTC (rev 570)
+++ trunk/wizards/AppWizard/spec-Frm.py 2006-05-15 03:31:16 UTC (rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import os
from FrmBase import FrmBase
from Grd%(tableName)s import Grd%(tableName)s
Modified: trunk/wizards/AppWizard/spec-FrmBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-FrmBase.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-FrmBase.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.ui
import dabo.lib.datanav as datanav
Modified: trunk/wizards/AppWizard/spec-FrmMain.py
===================================================================
--- trunk/wizards/AppWizard/spec-FrmMain.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-FrmMain.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.ui
Modified: trunk/wizards/AppWizard/spec-FrmReportBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-FrmReportBase.py 2006-05-14 18:16:18 UTC
(rev 570)
+++ trunk/wizards/AppWizard/spec-FrmReportBase.py 2006-05-15 03:31:16 UTC
(rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.ui
import dabo.lib.reportUtils as reportUtils
Modified: trunk/wizards/AppWizard/spec-FrmReportSample.py
===================================================================
--- trunk/wizards/AppWizard/spec-FrmReportSample.py 2006-05-14 18:16:18 UTC
(rev 570)
+++ trunk/wizards/AppWizard/spec-FrmReportSample.py 2006-05-15 03:31:16 UTC
(rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
## This is a sample form for putting together a report form xml (rfxml file)
## and a dataset, and previewing the report. Study this code, as well as the
## code in FrmReportBase, and then rework it to your specific needs. To put
Modified: trunk/wizards/AppWizard/spec-Grd.py
===================================================================
--- trunk/wizards/AppWizard/spec-Grd.py 2006-05-14 18:16:18 UTC (rev 570)
+++ trunk/wizards/AppWizard/spec-Grd.py 2006-05-15 03:31:16 UTC (rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
from GrdBase import GrdBase
Modified: trunk/wizards/AppWizard/spec-GrdBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-GrdBase.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-GrdBase.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.lib.datanav as datanav
Modified: trunk/wizards/AppWizard/spec-MenFileOpen.py
===================================================================
--- trunk/wizards/AppWizard/spec-MenFileOpen.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-MenFileOpen.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
import dabo.dEvents as dEvents
Modified: trunk/wizards/AppWizard/spec-MenReports.py
===================================================================
--- trunk/wizards/AppWizard/spec-MenReports.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-MenReports.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
import dabo.dEvents as dEvents
Modified: trunk/wizards/AppWizard/spec-PagBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-PagBase.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-PagBase.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.lib.datanav as datanav
Modified: trunk/wizards/AppWizard/spec-PagEdit.py
===================================================================
--- trunk/wizards/AppWizard/spec-PagEdit.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-PagEdit.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
from PagEditBase import PagEditBase
Modified: trunk/wizards/AppWizard/spec-PagEditBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-PagEditBase.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-PagEditBase.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo.lib.datanav as datanav
Modified: trunk/wizards/AppWizard/spec-PagSelect.py
===================================================================
--- trunk/wizards/AppWizard/spec-PagSelect.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-PagSelect.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
import dabo.dEvents as dEvents
from dabo.dLocalize import _, n_
Modified: trunk/wizards/AppWizard/spec-PagSelectBase.py
===================================================================
--- trunk/wizards/AppWizard/spec-PagSelectBase.py 2006-05-14 18:16:18 UTC
(rev 570)
+++ trunk/wizards/AppWizard/spec-PagSelectBase.py 2006-05-15 03:31:16 UTC
(rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import dabo
from dabo.dObject import dObject
import dabo.dEvents as dEvents
Modified: trunk/wizards/AppWizard/spec-__version__.py
===================================================================
--- trunk/wizards/AppWizard/spec-__version__.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-__version__.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
# Place your application's version information in the dictionary, and your
# Application object will store it in getAppInfo("appVersion") and
# getAppInfo("appRevision").
Modified: trunk/wizards/AppWizard/spec-biz__init__.py
===================================================================
--- trunk/wizards/AppWizard/spec-biz__init__.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-biz__init__.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
## To have your bizobjs available from Application.biz, you need to explicitly
## import them by name here.
Modified: trunk/wizards/AppWizard/spec-db__init__.py
===================================================================
--- trunk/wizards/AppWizard/spec-db__init__.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-db__init__.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
## To have any database functions, classes, etc. available from the
## Application.db namespace, you need to explicitly import them by name here.
Modified: trunk/wizards/AppWizard/spec-getSampleDataSet.py
===================================================================
--- trunk/wizards/AppWizard/spec-getSampleDataSet.py 2006-05-14 18:16:18 UTC
(rev 570)
+++ trunk/wizards/AppWizard/spec-getSampleDataSet.py 2006-05-15 03:31:16 UTC
(rev 571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import datetime
import decimal
import dabo
Modified: trunk/wizards/AppWizard/spec-main.py
===================================================================
--- trunk/wizards/AppWizard/spec-main.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-main.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,5 +1,8 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#!/usr/bin/env python
+
import sys
import os
import dabo
Modified: trunk/wizards/AppWizard/spec-setup.py
===================================================================
--- trunk/wizards/AppWizard/spec-setup.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-setup.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import os
import glob
Modified: trunk/wizards/AppWizard/spec-ui__init__.py
===================================================================
--- trunk/wizards/AppWizard/spec-ui__init__.py 2006-05-14 18:16:18 UTC (rev
570)
+++ trunk/wizards/AppWizard/spec-ui__init__.py 2006-05-15 03:31:16 UTC (rev
571)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
## To have your ui classes available from the Application.ui namespace, you
## need to explicitly import them by name here.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev