From 7e08473e11d9fbeacb52730bee09f5aaa50ea556 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 21 Mar 2012 20:35:01 +0100 Subject: [PATCH] add get_country_name to ox namespace --- ox/__init__.py | 1 + ox/geo.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ox/__init__.py b/ox/__init__.py index 1f509aa..7fb1517 100644 --- a/ox/__init__.py +++ b/ox/__init__.py @@ -14,6 +14,7 @@ from api import * from file import * from form import * from format import * +from geo iport * from html import * #image depends on PIL, not easy enough to instal on osx try: diff --git a/ox/geo.py b/ox/geo.py index 2ba86f5..76e32b7 100644 --- a/ox/geo.py +++ b/ox/geo.py @@ -2,6 +2,8 @@ # vi:si:et:sw=4:sts=4:ts=4 # GPL 2008 +__all__ = ['get_country_name'] + ''' var countries = {}; Ox.COUNTRIES.forEach(function(country) {