[open-ils-commits] r16644 - in trunk: Open-ILS/src/extras Open-ILS/src/python/oils Open-ILS/src/python/oils/utils build/i18n/tests build/tools (atz)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 9 17:44:06 EDT 2010


Author: atz
Date: 2010-06-09 17:44:00 -0400 (Wed, 09 Jun 2010)
New Revision: 16644

Modified:
   trunk/Open-ILS/src/extras/Evergreen.py
   trunk/Open-ILS/src/python/oils/__init__.py
   trunk/Open-ILS/src/python/oils/const.py
   trunk/Open-ILS/src/python/oils/event.py
   trunk/Open-ILS/src/python/oils/org.py
   trunk/Open-ILS/src/python/oils/system.py
   trunk/Open-ILS/src/python/oils/utils/__init__.py
   trunk/Open-ILS/src/python/oils/utils/csedit.py
   trunk/Open-ILS/src/python/oils/utils/idl.py
   trunk/Open-ILS/src/python/oils/utils/utils.py
   trunk/build/i18n/tests/testhelper.py
   trunk/build/tools/script_x_check.sh
Log:
Some python code is non-executable (script_x_check updated)

This corrects an overreach on the earlier patch.

Modified: trunk/Open-ILS/src/extras/Evergreen.py
===================================================================


Property changes on: trunk/Open-ILS/src/extras/Evergreen.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/__init__.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/__init__.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/const.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/const.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/event.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/event.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/org.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/org.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/system.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/system.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/utils/__init__.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/utils/__init__.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/utils/csedit.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/utils/csedit.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/utils/idl.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/utils/idl.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/Open-ILS/src/python/oils/utils/utils.py
===================================================================


Property changes on: trunk/Open-ILS/src/python/oils/utils/utils.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/build/i18n/tests/testhelper.py
===================================================================


Property changes on: trunk/build/i18n/tests/testhelper.py
___________________________________________________________________
Name: svn:executable
   - *

Modified: trunk/build/tools/script_x_check.sh
===================================================================
--- trunk/build/tools/script_x_check.sh	2010-06-09 21:43:59 UTC (rev 16643)
+++ trunk/build/tools/script_x_check.sh	2010-06-09 21:44:00 UTC (rev 16644)
@@ -6,5 +6,31 @@
 # usage: run this from the base directory of your repo,
 #   or wherever you want to check, inclusive of subdirectories
 
-find . \( -name "*.pl" -o -name "*.sh" -o -name "*.py" \) ! -executable -ls
+find . \
+    \(  -path ./Open-ILS/src/python/oils -prune \
+     -o -path ./build/i18n/tests/testhelper.py -prune \
+     -o -path ./Open-ILS/src/extras/Evergreen.py -prune \
+    \) -o \
+\
+    \( \
+       -name "*.pl" \
+    -o -name "*.sh" \
+    -o -name "*.py" \
+    \) \
+    \( ! -executable \) \
+    -ls ;
 
+exit;
+
+
+########################################################
+These should be exceptions (non-executable python libs):
+./Open-ILS/src/python/oils/const.py
+./Open-ILS/src/python/oils/event.py
+./Open-ILS/src/python/oils/org.py
+./Open-ILS/src/python/oils/system.py
+./Open-ILS/src/python/oils/utils/utils.py
+./Open-ILS/src/python/oils/utils/csedit.py
+./Open-ILS/src/python/oils/utils/idl.py
+./Open-ILS/src/extras/Evergreen.py
+./build/i18n/tests/testhelper.py



More information about the open-ils-commits mailing list