Some python code is non-executable (script_x_check updated)
authoratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Jun 2010 21:44:00 +0000 (21:44 +0000)
committeratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Jun 2010 21:44:00 +0000 (21:44 +0000)
This corrects an overreach on the earlier patch.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16644 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 files changed:
Open-ILS/src/extras/Evergreen.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/__init__.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/const.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/event.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/org.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/system.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/utils/__init__.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/utils/csedit.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/utils/idl.py [changed mode: 0755->0644]
Open-ILS/src/python/oils/utils/utils.py [changed mode: 0755->0644]
build/i18n/tests/testhelper.py [changed mode: 0755->0644]
build/tools/script_x_check.sh

old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 18e892a..d1e3a55 100755 (executable)
@@ -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