aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDafydd Harries <daf@rhydd.org>2013-03-18 15:51:30 -0400
committerDafydd Harries <daf@rhydd.org>2013-03-18 15:51:30 -0400
commitac5c04d05661a66b4ea4ed622020a9c0e9ffd108 (patch)
tree55e2021c49c968789bcff93e1c36c2bd81ea115b
parent437d1001f5b5a2cdedf11fca3a8dec87c5dabbfb (diff)
stash license summary for copyright header stanza
-rw-r--r--load_copyright.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/load_copyright.py b/load_copyright.py
index 42d45fb..20028aa 100644
--- a/load_copyright.py
+++ b/load_copyright.py
@@ -70,6 +70,7 @@ def import_one(pkgname, fh):
return None
header['_srcpkg'] = pkgname
+ header['_license'] = header.get('License', '').split('\n')[0]
copy_summary = pd.DataFrame([header])
#print copy_summary.T.to_string()
#print