aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@trisquel.info>2015-07-01 14:55:32 -0500
committerRuben Rodriguez <ruben@trisquel.info>2015-07-01 14:55:32 -0500
commitdde0f06e1357f302a681225045e3e52c450c0cba (patch)
treef945eae6c02d37d79b868d9a2c99e38273294c5a
parent3dc769bd4237b439c32b1dc4ad128e7cda480a15 (diff)
Ignore license information for files in ./debian
-rw-r--r--load_copyright.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/load_copyright.py b/load_copyright.py
index 1ab361d..2f545e1 100644
--- a/load_copyright.py
+++ b/load_copyright.py
@@ -46,6 +46,8 @@ def read_copyright(fh):
del d['Licence']
if type == 'Files':
+ if 'debian' in d['Files']:
+ continue
if 'License' not in d:
raise ValueError('no license: ' + repr(d))
return