[Dive4elements-commits] [PATCH 2 of 2] Add message if DGM import is skipped
Wald Commits
scm-commit at wald.intevation.org
Tue Feb 19 09:54:30 CET 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1361263996 -3600
# Branch dami
# Node ID a79f6a085ab60faadbfa3166baab890e6606635a
# Parent 514948fdae54efc8a2f7fa44c1bbb6d102ed6ba4
Add message if DGM import is skipped
diff -r 514948fdae54 -r a79f6a085ab6 flys-backend/contrib/shpimporter/shpimporter.py
--- a/flys-backend/contrib/shpimporter/shpimporter.py Tue Feb 19 09:52:49 2013 +0100
+++ b/flys-backend/contrib/shpimporter/shpimporter.py Tue Feb 19 09:53:16 2013 +0100
@@ -235,6 +235,8 @@
else:
logger.info("Inserting DGM meta information in 'dem' table.")
insertRiverDgm(dbconn_raw, dgmfilename, river_name, config.dry_run)
+ else:
+ logger.info("Skip import of DGM.")
if __name__ == '__main__':
main()
More information about the Dive4elements-commits
mailing list