From: <lu...@us...> - 2008-08-18 08:02:35
|
Revision: 213 http://pyscard.svn.sourceforge.net/pyscard/?rev=213&view=rev Author: ludov Date: 2008-08-18 08:02:45 +0000 (Mon, 18 Aug 2008) Log Message: ----------- check that we are in the correct directory Modified Paths: -------------- trunk/pyscard/tools/commands/build-doc.py Modified: trunk/pyscard/tools/commands/build-doc.py =================================================================== --- trunk/pyscard/tools/commands/build-doc.py 2008-08-17 12:36:45 UTC (rev 212) +++ trunk/pyscard/tools/commands/build-doc.py 2008-08-18 08:02:45 UTC (rev 213) @@ -49,6 +49,9 @@ # the smartcard module must be installed to run epydoc smartcardpackagedir = os.path.join( get_python_lib(), 'smartcard' ) +# check that we are in the correct directory +assert os.path.exists( sourcedocdir ), "Can't find directory: " + sourcedocdir + # this pattern is searched in html files to include sourceforge logo for pyscard searchterm = '>pyscard</th>' placeholder = re.compile( searchterm ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |