[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue-common/src/apps GBaseApp.py __init__.py
From: |
Jason Cater |
Subject: |
gnue-common/src/apps GBaseApp.py __init__.py |
Date: |
Wed, 26 Nov 2003 16:26:51 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue-common
Branch:
Changes by: Jason Cater <address@hidden> 03/11/26 16:26:51
Modified files:
src/apps : GBaseApp.py __init__.py
Log message:
let 'import gnue.common.apps' initialize the bare-minimum needed to run
our cvs code; to simplify: if __name__ == '__main__' test code
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/apps/GBaseApp.py.diff?tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/apps/__init__.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gnue-common/src/apps/GBaseApp.py
diff -c gnue-common/src/apps/GBaseApp.py:1.41
gnue-common/src/apps/GBaseApp.py:1.42
*** gnue-common/src/apps/GBaseApp.py:1.41 Mon Oct 6 05:58:31 2003
--- gnue-common/src/apps/GBaseApp.py Wed Nov 26 16:26:51 2003
***************
*** 42,58 ****
from gnue.common.utils.TextUtils import lineWrap
from gnue import paths
import locale
# Mac has problems with LC_ALL...
try:
locale.setlocale(locale.LC_ALL, '')
except:
pass
-
- # Important for now _() to be defined here
- import __builtin__
- __builtin__.__dict__['_'] = lambda string:string
-
from gnue.common.apps import GDebug
from gnue.common.datasources import GConnections
--- 42,54 ----
from gnue.common.utils.TextUtils import lineWrap
from gnue import paths
import locale
+ import __builtin__
# Mac has problems with LC_ALL...
try:
locale.setlocale(locale.LC_ALL, '')
except:
pass
from gnue.common.apps import GDebug
from gnue.common.datasources import GConnections
Index: gnue-common/src/apps/__init__.py
diff -c gnue-common/src/apps/__init__.py:1.1
gnue-common/src/apps/__init__.py:1.2
*** gnue-common/src/apps/__init__.py:1.1 Mon Feb 17 02:32:47 2003
--- gnue-common/src/apps/__init__.py Wed Nov 26 16:26:51 2003
***************
*** 0 ****
--- 1,32 ----
+ #
+ # This file is part of GNU Enterprise.
+ #
+ # GNU Enterprise is free software; you can redistribute it
+ # and/or modify it under the terms of the GNU General Public
+ # License as published by the Free Software Foundation; either
+ # version 2, or (at your option) any later version.
+ #
+ # GNU Enterprise is distributed in the hope that it will be
+ # useful, but WITHOUT ANY WARRANTY; without even the implied
+ # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ # PURPOSE. See the GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public
+ # License along with program; see the file COPYING. If not,
+ # write to the Free Software Foundation, Inc., 59 Temple Place
+ # - Suite 330, Boston, MA 02111-1307, USA.
+ #
+ # Copyright 2000-2003 Free Software Foundation
+ #
+ # FILE:
+ # __init__.py
+ #
+ # DESCRIPTION:
+ #
+ # NOTES:
+ #
+
+ # Important for now _() to be defined here
+ import __builtin__
+ __builtin__.__dict__['_'] = lambda string:string
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue-common/src/apps GBaseApp.py __init__.py,
Jason Cater <=