werner2101/python-osm — pull request #6 by culebron (2012-03-20 09:54:28+00:00)
Title: Small code improvements & dedupe

Hi,
I've walked through your code briefly, and see there's a lot of repetition.
I made a small patch that reduces the duplication a bit, without heavy
refactoring. I also checked the files with pyflakes and removed useless
imports.

I'm going to use your script for this project:
https://bitbucket.org/siberiano/road-graph-cleaner/

You might want to look at my project here,
https://bitbucket.org/siberiano/osm2python/
Although it is not as functional as yours, I wrote the code as compact as
possible.