aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDafydd Harries <daf@rhydd.org>2013-03-17 19:29:08 -0400
committerDafydd Harries <daf@rhydd.org>2013-03-17 19:29:08 -0400
commitcad8954123da41aa679f571547387c274e50481e (patch)
treec49f758ea83a8aa802f78780a556510c6b349ffe
parent17b3f4cafad2b5a7fb0dda631aafb8f9d13ec574 (diff)
package reference for copyright file is source package
-rw-r--r--load_copyright.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/load_copyright.py b/load_copyright.py
index dee5351..2faac26 100644
--- a/load_copyright.py
+++ b/load_copyright.py
@@ -69,17 +69,17 @@ def import_one(pkgname, fh):
#print 'err:', repr(e)
return None
- header['Package'] = pkgname
+ header['_srcpkg'] = pkgname
copy_summary = pd.DataFrame([header])
#print copy_summary.T.to_string()
#print
for d in files:
- d['Package'] = pkgname
+ d['_srcpkg'] = pkgname
d['_license'] = d['License'].split('\n')[0]
for d in licences:
- d['Package'] = pkgname
+ d['_srcpkg'] = pkgname
d['_license'] = d['License'].split('\n')[0]
copy_files = pd.DataFrame(files)