Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/importer.py @ 3950:82e931f88137
Adapted postgresql spatial schema and fixed a bug in the geo importer.
flys-backend/trunk@5587 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 24 Sep 2012 10:02:36 +0000 |
parents | 2cd2657b3d60 |
children | 890eaa0a5162 |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/importer.py Mon Sep 24 09:14:48 2012 +0000 +++ b/flys-backend/contrib/shpimporter/importer.py Mon Sep 24 10:02:36 2012 +0000 @@ -124,7 +124,7 @@ newFeat = self.transform(newFeat) res = destLayer.CreateFeature(newFeat) if res is None or res > 0: - shpimporter.Error("Unable to insert feature: %r" % res) + shpimporter.ERROR("Unable to insert feature: %r" % res) else: success = success + 1 else: