HomeDevCentral

Make the FANTOIR code more pythonic

Description

Make the FANTOIR code more pythonic

Summary:
Scripts with functions should allow to be included in other source files.

Apply more pythonic style. Ask forgiveness not permission.

Test Plan:
Check if the behavior is unchanged.

./extract_streets.py FANTOIR1017 before.txt

git pull

./extract_streets.py FANTOIR1017 after.txt

diff before.txt after.txt

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1230

Details

Provenance
derecksonAuthored on Nov 18 2017, 19:48
derecksonPushed on Nov 18 2017, 19:54
Reviewer
dereckson
Differential Revision
D1230: Make the FANTOIR code more pythonic
Parents
rOPS1e93d62151b1: Add SSH key for Dereckson's FreeBSD laptop
Branches
Unknown
Tags
Unknown
Reverted By
rOPS6e11ea55d0d2: Revert "Make the FANTOIR code more pythonic"