ajack 2003/09/30 13:05:27 Modified: python/gump document.py Log: endswith not endwith Revision Changes Path 1.57 +1 -1 jakarta-gump/python/gump/document.py Index: document.py =================================================================== RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- document.py 30 Sep 2003 19:47:24 -0000 1.56 +++ document.py 30 Sep 2003 20:05:27 -0000 1.57 @@ -1018,7 +1018,7 @@ def getWorkspaceDocument(workspace,workspacedir=None,document=None): if not document: document='index.xml' - if not document.endwith('.xml'): document += '.xml' + if not document.endswith('.xml'): document += '.xml' if not workspacedir: workspacedir = getWorkspaceDir(workspace) return os.path.join(workspacedir,document)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]