diff options
author | Ruben Rodriguez <ruben@trisquel.info> | 2015-07-01 14:55:32 -0500 |
---|---|---|
committer | Ruben Rodriguez <ruben@trisquel.info> | 2015-07-01 14:55:32 -0500 |
commit | dde0f06e1357f302a681225045e3e52c450c0cba (patch) | |
tree | f945eae6c02d37d79b868d9a2c99e38273294c5a | |
parent | 3dc769bd4237b439c32b1dc4ad128e7cda480a15 (diff) |
Ignore license information for files in ./debian
-rw-r--r-- | load_copyright.py | 2 |
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 |