You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/04/16 16:17:16 UTC

svn commit: r161567 - gump/branches/Gump3/gump

Author: leosimons
Date: Sat Apr 16 07:17:16 2005
New Revision: 161567

URL: http://svn.apache.org/viewcvs?view=rev&rev=161567
Log:
Ignore work directory for python imports.

* gump: don't attempt to import anything inside the pygump/work directory as python material. This is not our stuff after all :-D

Modified:
    gump/branches/Gump3/gump

Modified: gump/branches/Gump3/gump
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/gump?view=diff&r1=161566&r2=161567
==============================================================================
--- gump/branches/Gump3/gump (original)
+++ gump/branches/Gump3/gump Sat Apr 16 07:17:16 2005
@@ -539,7 +539,7 @@
   # import all modules, one by one, to check syntax
   local current=`pwd`
   cd $GUMP_HOME/pygump
-  local files=`find . -name '*.py' | sed -e 's/\.\///g' -e 's/\//./g' -e 's/\.py//g' -e 's/python\.//g' | grep -v __init__`
+  local files=`find . -name '*.py' -not -path './work*' | sed -e 's/\.\///g' -e 's/\//./g' -e 's/\.py//g' -e 's/python\.//g' | grep -v __init__`
   for i in $files; do
     $GUMP_PYTHON -c "import $i"
   done