Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv8630/happydoclib
Modified Files:
appclass.py
Log Message:
Use os.path.normalize() on input file and directory names.
Index: appclass.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/appclass.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** appclass.py 2 Feb 2002 13:45:29 -0000 1.8
--- appclass.py 12 May 2002 20:17:56 -0000 1.9
***************
*** 246,250 ****
Defaults to './doc'."""
! self.output_directory = outputDirectory
return
--- 246,250 ----
Defaults to './doc'."""
! self.output_directory = os.path.normcase(outputDirectory)
return
***************
*** 379,384 ****
# Get the list of modules to input
#
! input_modules = args
! if not input_modules:
#
# No files specified, print a help message and exit.
--- 379,383 ----
# Get the list of modules to input
#
! if not args:
#
# No files specified, print a help message and exit.
***************
*** 386,389 ****
--- 385,392 ----
self.showHelp('Specify input file(s) to be processed.')
raise self.HelpRequested, 'No input file(s) specified.'
+ else:
+ input_modules = []
+ for input_module_name in args:
+ input_modules.append(os.path.normcase(input_module_name))
#
|