gns-deb-diff

automate the documentation of the differences between gNewSense and Debian.
git clone git://git.ricketyspace.net/gns-deb-diff.git
Log | Files | Refs

commit f4e2735f87691f8b5e748ea4de33954c1665992c
parent f209589c0fe62a9206a5930b7835cb4be357ba6d
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun,  6 Nov 2016 14:01:44 +0000

update `slurp_fields_from_readme` function.

Use global `field_list`.

Diffstat:
gd_diff.py | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/gd_diff.py b/gd_diff.py @@ -181,12 +181,6 @@ def slurp_fields_from_readme(content): `content`, then its corresponding value in the dict will be None. """ - # list of recognized fields. - field_list = [ - 'Change-Type', - 'Changed-From-Debian', - ] - field_values = {} for field in field_list: pattern = r'{}:[ ]*(.+)'.format(field)