~doctormo/+junk/ashmont-valley-website

« back to all changes in this revision

Viewing changes to libs/whitepages/hood.py

  • Committer: Martin Owens
  • Date: 2014-05-03 12:23:32 UTC
  • Revision ID: doctormo@gmail.com-20140503122332-tcg7jymzfsl6ittm
Add Yahoo group link to front page

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
# Id based cache
27
27
CACHE = None
28
28
 
29
 
def neighbourhood(lng, lat, streets, report):
 
29
def neighbourhood(lat, lng, streets, report):
30
30
    """Get a chain starting from this location"""
31
31
    global CACHE
32
32
    CACHE = set()
33
 
    for house in get_chain(House(lng=lng, lat=lat), streets, report):
 
33
    for house in get_chain(House(lat=lat, lng=lng), streets, report):
34
34
        yield house
35
35
 
36
36