~timkuhlman/ubuntu-geonames/column-size-fiz

« back to all changes in this revision

Viewing changes to geoname-modpython.py

  • Committer: Tim Kuhlman
  • Date: 2015-12-16 22:26:11 UTC
  • Revision ID: timothy.kuhlman@canonical.com-20151216222611-zqed99zmtruzjy48
Fix syntax errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
jsonheader = '['
45
45
jsonfooter = ']'
46
46
jsonentry = '{"name" : "%s", "admin1" : "%s", "admin2" : "%s", "country" : "%s", ' \
47
 
            '"longitude" : "%F", "latitude" : "%F" , '"timezone" : "%s" }'
 
47
            '"longitude" : "%F", "latitude" : "%F" , "timezone" : "%s" }'
48
48
 
49
49
def handler(req):
50
50
    fs = util.FieldStorage(req)