Mercurial > dive4elements > river
changeset 5221:aa043641d9c8
Fix syntax error when river id is not found (pylint could have told me this)
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 11 Mar 2013 16:47:05 +0100 |
parents | 613d2f494728 |
children | 3b86bf214d53 |
files | flys-backend/contrib/shpimporter/shpimporter.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/shpimporter.py Mon Mar 11 15:55:11 2013 +0100 +++ b/flys-backend/contrib/shpimporter/shpimporter.py Mon Mar 11 16:47:05 2013 +0100 @@ -198,8 +198,8 @@ river_id = utils.getRiverId(dbconn_raw, river_name, oracle) if not river_id: - logger.info("Could not find river in database. Skipping: %s" - % unicode(utils.getUTF8(river_name)), "UTF-8") + logger.info(u"Could not find river in database. Skipping: %s" + % unicode(utils.getUTF8(river_name), "UTF-8")) continue else: logger.info(u"Importing River: %s" % unicode(