[Epydoc-commits] SF.net SVN: epydoc: [1482] trunk/epydoc/src/epydoc/docbuilder.py
Brought to you by:
edloper
|
From: <ed...@us...> - 2007-02-13 22:23:52
|
Revision: 1482
http://svn.sourceforge.net/epydoc/?rev=1482&view=rev
Author: edloper
Date: 2007-02-13 14:23:50 -0800 (Tue, 13 Feb 2007)
Log Message:
-----------
- Fixed bug introduced by previous checkin that made epydoc fail
if no --exclude options were given
Modified Paths:
--------------
trunk/epydoc/src/epydoc/docbuilder.py
Modified: trunk/epydoc/src/epydoc/docbuilder.py
===================================================================
--- trunk/epydoc/src/epydoc/docbuilder.py 2007-02-13 22:12:14 UTC (rev 1481)
+++ trunk/epydoc/src/epydoc/docbuilder.py 2007-02-13 22:23:50 UTC (rev 1482)
@@ -96,9 +96,9 @@
# Test for pattern syntax and compile them into pattern objects.
try:
self._introspect_regexp = (exclude_introspect
- and re.compile(exclude_introspect))
+ and re.compile(exclude_introspect) or None)
self._parse_regexp = (exclude_parse
- and re.compile(exclude_parse))
+ and re.compile(exclude_parse) or None)
except Exception, exc:
log.error('Error in regular expression pattern: %s' % exc)
raise
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|