diff --git a/apply-us-data.py b/apply-us-data.py index 2ff375e4bf..68fc72875d 100755 --- a/apply-us-data.py +++ b/apply-us-data.py @@ -30,11 +30,11 @@ counties[(row['State FIPS'], row['Name'][:-13])] = value # more key variations - for ((s, c), value) in list(counties.items()): + for (s, c), value in counties.iteritems(): if c.startswith('St. '): counties[(s, 'Saint '+c[4:])] = value - for ((s, c), value) in list(counties.items()): + for (s, c), value in counties.iteritems(): counties[(s, c.lower())] = value counties[(s, c.replace('-', ' '))] = value counties[(s, c.replace('-', ' ').lower())] = value