fixed todo + dead code

stable
David Decotigny 2010-08-08 09:41:41 +02:00
rodzic 118f0a4210
commit bacb8e42a0
2 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -127,7 +127,7 @@ class Stylesheet:
class OCitySMap:
"""
TODO
TODO: documentation here
"""
DEFAULT_REQUEST_TIMEOUT_MIN = 15
@ -238,7 +238,7 @@ class OCitySMap:
def _get_osmid_area(self, osmid):
"""Returns the bounding box area around the given OSM ID."""
# TODO:
# TODO: merge with get_bounding_box
l.info('Looking for contour around OSM ID %d...' % osmid)
cursor = self._db.cursor()
cursor.execute("""select st_astext(st_transform(st_buildarea(way), 4002))

Wyświetl plik

@ -195,8 +195,6 @@ class StreetIndex:
return [category for category in result if category.items]
def build_data_nogrid(self):
return self._categories
if __name__ == "__main__":
import os