aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-19 23:00:33 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-19 23:00:33 +0000
commit3c0d7bd6413e2102b020ab1ab996db0ae25775c2 (patch)
tree950270e2c1f108762360d791e21c9246986f2811 /scripts
parent576b8f5f1969c83d1a0d9cfead3bcbe7f741caba (diff)
kludge to ignore .svn dirs
svn path=/trunk/; revision=11804
Diffstat (limited to 'scripts')
-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)