gnulib-tool.py: follow gnulib-tool changes, part 5

Follow gnulib-tool change
2013-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
Assume gnulib is checked out from Git, not CVS
This commit is contained in:
Bruno Haible
2017-09-09 16:28:59 +02:00
parent cdd7bf2e24
commit 6c81a58144
4 changed files with 4 additions and 10 deletions
+1 -3
View File
@@ -84,7 +84,7 @@ class GLModuleSystem(object):
raise(TypeError(
'module must be a string, not %s' % type(module).__name__))
result = bool()
badnames = ['CVS', 'ChangeLog', 'COPYING', 'README', 'TEMPLATE',
badnames = ['ChangeLog', 'COPYING', 'README', 'TEMPLATE',
'TEMPLATE-EXTENDED', 'TEMPLATE-TESTS']
if isfile(joinpath(DIRS['modules'], module)) or \
all([ # Begin all(iterable) function
@@ -132,8 +132,6 @@ class GLModuleSystem(object):
[
'sed',
'-e', r's,^modules/,,',
'-e', r'/^CVS\//d',
'-e', r'/\/CVS\//d',
'-e', r'/^ChangeLog$/d',
'-e', r'/\/ChangeLog$/d',
'-e', r'/^COPYING$/d',