[csw-devel] SF.net SVN: gar:[13006] csw/mgar/gar/v2/lib/python
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Jan 19 08:06:41 CET 2011
Revision: 13006
http://gar.svn.sourceforge.net/gar/?rev=13006&view=rev
Author: wahwah
Date: 2011-01-19 07:06:41 +0000 (Wed, 19 Jan 2011)
Log Message:
-----------
checkpkg: Remove a duplicated constant
The same constant existed in two files. Removing one of them.
This change will affect the bad-contents check. Checkpkg will now warn about
/usr/local, /usr/share and /export/home.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/checkpkg.py
csw/mgar/gar/v2/lib/python/package_stats.py
Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py 2011-01-18 20:46:19 UTC (rev 13005)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py 2011-01-19 07:06:41 UTC (rev 13006)
@@ -22,14 +22,6 @@
DESCRIPTION_RE = r"^([\S]+) - (.*)$"
-BAD_CONTENT_REGEXES = (
- # Slightly obfuscating these by using concatenation of strings.
- r'/export' r'/home',
- r'/export' r'/medusa',
- r'/opt' r'/build',
- r'/usr' r'/local',
- r'/usr' r'/share',
-)
INSTALL_CONTENTS_AVG_LINE_LENGTH = 102.09710677919261
SYS_DEFAULT_RUNPATH = [
Modified: csw/mgar/gar/v2/lib/python/package_stats.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_stats.py 2011-01-18 20:46:19 UTC (rev 13005)
+++ csw/mgar/gar/v2/lib/python/package_stats.py 2011-01-19 07:06:41 UTC (rev 13006)
@@ -26,8 +26,11 @@
BAD_CONTENT_REGEXES = (
# Slightly obfuscating these by using the default concatenation of
# strings.
+ r'/export' r'/home',
r'/export' r'/medusa',
r'/opt' r'/build',
+ r'/usr' r'/local',
+ r'/usr' r'/share',
)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list