# HG changeset patch # User Andre Heinecke # Date 1363016825 -3600 # Node ID aa043641d9c8614e9d119a35da39a2c0bda4ef60 # Parent 613d2f494728e5557e88af38863b01af32d3ec47 Fix syntax error when river id is not found (pylint could have told me this) diff -r 613d2f494728 -r aa043641d9c8 flys-backend/contrib/shpimporter/shpimporter.py --- 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(