From cad8954123da41aa679f571547387c274e50481e Mon Sep 17 00:00:00 2001 From: Dafydd Harries Date: Sun, 17 Mar 2013 19:29:08 -0400 Subject: package reference for copyright file is source package --- load_copyright.py | 6 +++--- 1 file 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) -- cgit v1.2.3