comparison pkg/imports/bn.go @ 3815:aa7bede70b96

Added range info to BN import log.
author Sascha Wilde <wilde@intevation.de>
date Fri, 05 Jul 2019 11:34:51 +0200
parents 7006b92c0334
children 6c5c15b2fb64 12f476e91c70
comparison
equal deleted inserted replaced
3779:33180c25bd87 3815:aa7bede70b96
517 if bns.Next() { 517 if bns.Next() {
518 feedback.Info("unchanged") 518 feedback.Info("unchanged")
519 return nil 519 return nil
520 } 520 }
521 521
522 // Additional Information, only of interest when we change something, so
523 // it can be used for debugging if something goes wrong...
524 feedback.Info("Range: from %s to %s", bn.From_ISRS, bn.To_ISRS)
525
522 // Check if an bottleneck with the same identity 526 // Check if an bottleneck with the same identity
523 // (bottleneck_id,validity) already exists: 527 // (bottleneck_id,validity) already exists:
524 // Check if an bottleneck identical to the one we would insert already 528 // Check if an bottleneck identical to the one we would insert already
525 // exists: 529 // exists:
526 var existing_bn_id *int64 530 var existing_bn_id *int64