From 816f7c02e8a2d55ff6b6b138c71604c59f3304f1 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 19 Sep 2018 12:55:30 +0200 Subject: T849: remove stray debug prints. --- src/migration-scripts/quagga/2-to-3 | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/migration-scripts') diff --git a/src/migration-scripts/quagga/2-to-3 b/src/migration-scripts/quagga/2-to-3 index 158b6eafd..99d96a0aa 100644 --- a/src/migration-scripts/quagga/2-to-3 +++ b/src/migration-scripts/quagga/2-to-3 @@ -153,7 +153,6 @@ else: # Move aggregate-address statements aggregate_path = ['protocols', 'bgp', asn, 'aggregate-address'] if config.exists(aggregate_path): - print("Migrating aggregates") config.set(bgp_path + af_path + ['aggregate-address']) config.set_tag(bgp_path + af_path + ['aggregate-address']) @@ -164,7 +163,6 @@ else: config.set(bgp_path + af_path + ['aggregate-address', aggregate, 'as-set']) if config.exists(aggregate_path + [aggregate, 'summary-only']): config.set(bgp_path + af_path + ['aggregate-address', aggregate, 'summary-only']) - print("Deleting {0}".format(aggregate_path)) config.delete(aggregate_path) ## Migrate neighbor options @@ -183,7 +181,6 @@ else: try: with open(file_name, 'w') as f: f.write(config.to_string()) - #print(config.to_string()) except OSError as e: print("Failed to save the modified config: {}".format(e)) sys.exit(1) -- cgit v1.2.3