diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-19 23:00:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-19 23:00:33 +0000 |
commit | 3c0d7bd6413e2102b020ab1ab996db0ae25775c2 (patch) | |
tree | 950270e2c1f108762360d791e21c9246986f2811 /scripts | |
parent | 576b8f5f1969c83d1a0d9cfead3bcbe7f741caba (diff) |
kludge to ignore .svn dirs
svn path=/trunk/; revision=11804
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/insert_declare.py | 5 |
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) |