[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue-common/utils doc-xml-attrs-openoffice.py
From: |
Jason Cater |
Subject: |
gnue-common/utils doc-xml-attrs-openoffice.py |
Date: |
Mon, 21 Jul 2003 12:30:30 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue-common
Branch:
Changes by: Jason Cater <address@hidden> 03/07/21 12:30:30
Modified files:
utils : doc-xml-attrs-openoffice.py
Log message:
fixed the openoffice export script to reflect new cvs structure
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/utils/doc-xml-attrs-openoffice.py.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: gnue-common/utils/doc-xml-attrs-openoffice.py
diff -c gnue-common/utils/doc-xml-attrs-openoffice.py:1.6
gnue-common/utils/doc-xml-attrs-openoffice.py:1.7
*** gnue-common/utils/doc-xml-attrs-openoffice.py:1.6 Mon Feb 17 02:32:50 2003
--- gnue-common/utils/doc-xml-attrs-openoffice.py Mon Jul 21 12:30:30 2003
***************
*** 29,39 ****
#
import sys, string
- sys.path.insert(0,'../../../gnue/.cvsdevelbase')
import re
from xml.sax.saxutils import escape
from gnue.common.definitions import GParser
from gnue.common.formatting import GTypecast
--- 29,44 ----
#
import sys, string
import re
from xml.sax.saxutils import escape
+
+ try:
+ import gnue.common
+ except ImportError:
+ print "ERROR: This script must be run with gcvs, GNUe's python wrapper."
+ sys.exit()
from gnue.common.definitions import GParser
from gnue.common.formatting import GTypecast
- gnue-common/utils doc-xml-attrs-openoffice.py,
Jason Cater <=