aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/insert_declare.py5
1 files changed, 4 insertions, 1 deletions
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)