Fix tests broken by a513d3f97d.

This commit is contained in:
Hermann Kraus 2012-09-08 00:43:32 +02:00
parent 0de2beac3e
commit 0744362481

View file

@ -84,7 +84,7 @@ if __name__ == "__main__":
for name in sys.argv[1:]:
files.append({"name": name})
if 'osm' in mapnik.DatasourceCache.instance().plugin_names():
if 'osm' in mapnik.DatasourceCache.plugin_names():
for f in files:
config = dict(defaults)
config.update(f)