From 3c0d7bd6413e2102b020ab1ab996db0ae25775c2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 19 Jun 2009 23:00:33 +0000 Subject: kludge to ignore .svn dirs svn path=/trunk/; revision=11804 --- scripts/insert_declare.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/insert_declare.py b/scripts/insert_declare.py index 025d0a23..472fb27f 100755 --- a/scripts/insert_declare.py +++ b/scripts/insert_declare.py @@ -10,7 +10,10 @@ library = os.getcwd().split('/')[-1] print "current library: " + library + "\n" for root, dirs, files in os.walk('.'): - dirs.remove('.svn') + try: + dirs.remove('.svn') + except: + pass # print "root: " + root for name in files: m = re.search(".*-help\.pd$", name) -- cgit v1.2.1