Attached is a small patch to stop false positives from the documentation
check when Files: is over more than one line - it just uses strip to
remove the linefeed from the end of the line.

Cheers,
-- 
Brett Parker
--- linda-0.3.24/checks/documentation.py        2006-04-26 06:23:33.000000000 
+0100
+++ linda-0.3.24-new/checks/documentation.py    2006-12-31 12:53:35.497176316 
+0000
@@ -120,8 +120,9 @@
                 if stanza.has_key('files'):
                     for f in stanza['files'].split(' '):
                         fp = os.path.join(self.information['dir'], \
                             'unpacked', f[1:])
+                        fp = fp.strip()
                         if not glob.glob(fp) and not os.path.exists(fp):
                             self.signal_error('doc-base-file-not-found', \
                                 ['Files', f])
     def check_devhelp(self):

Reply via email to