Update of /cvsroot/ht2html/ht2html
In directory sc8-pr-cvs1:/tmp/cvs-serv13086
Modified Files:
ht2html.py
Log Message:
Fix usage() method call.
Index: ht2html.py
===================================================================
RCS file: /cvsroot/ht2html/ht2html/ht2html.py,v
retrieving revision 2.2
retrieving revision 2.3
diff -C2 -d -r2.2 -r2.3
*** ht2html.py 25 Jul 2003 05:20:18 -0000 2.2
--- ht2html.py 25 Sep 2003 04:12:46 -0000 2.3
***************
*** 136,140 ****
self.prefix = os.path.commonprefix([self.absroot, self.curdir])
if self.prefix != self.absroot:
! usage(1, 'Root directory must be relative to current directory')
self.relthis = self.curdir[len(self.prefix)+1:]
if not self.relthis:
--- 136,141 ----
self.prefix = os.path.commonprefix([self.absroot, self.curdir])
if self.prefix != self.absroot:
! self.usage(
! 1, 'Root directory must be relative to current directory')
self.relthis = self.curdir[len(self.prefix)+1:]
if not self.relthis:
|