toolsutils.py
changeset 5184 955ee1b24756
parent 5021 58e89f3dfbae
child 5328 c51e8f62652a
--- a/toolsutils.py	Wed Apr 07 14:42:55 2010 +0200
+++ b/toolsutils.py	Thu Apr 08 11:04:17 2010 +0200
@@ -103,10 +103,9 @@
     else:
         print 'no diff between %s and %s' % (appl_file, ref_file)
 
-
+SKEL_EXCLUDE = ('*.py[co]', '*.orig', '*~', '*_flymake.py')
 def copy_skeleton(skeldir, targetdir, context,
-                  exclude=('*.py[co]', '*.orig', '*~', '*_flymake.py'),
-                  askconfirm=False):
+                  exclude=SKEL_EXCLUDE, askconfirm=False):
     import shutil
     from fnmatch import fnmatch
     skeldir = normpath(skeldir)