[Docstring-checkins] CVS: dps/dps/writers __init__.py,1.3,1.4
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-02-20 04:14:54
|
Update of /cvsroot/docstring/dps/dps/writers In directory usw-pr-cvs1:/tmp/cvs-serv14209/dps/dps/writers Modified Files: __init__.py Log Message: language module support (may drop) Index: __init__.py =================================================================== RCS file: /cvsroot/docstring/dps/dps/writers/__init__.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** __init__.py 12 Feb 2002 02:13:38 -0000 1.3 --- __init__.py 20 Feb 2002 04:14:52 -0000 1.4 *************** *** 16,19 **** --- 16,20 ---- + from dps import languages import sys *************** *** 30,33 **** --- 31,37 ---- """The document to write.""" + language = None + """Language module for the document.""" + destination = None """Where to write the document.""" *************** *** 45,48 **** --- 49,53 ---- def write(self, document, destination): self.document = document + self.language = languages.getlanguage(document.languagecode) self.destination = destination self.transform() |