aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-02 18:22:05 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-02 18:22:05 +0000
commit1152f020290dcab76613f9510f9b165c2be89cfd (patch)
treef29e0f4e9782672effb787bf2fdcbcc62fc9e06e /admin.py
parentc99e93b258beeae64cada67a46a342a32871efdf (diff)
Remove lots of debug that's swamping output now
Change-Id: I00e166179601d15fbe9c5e22798c5015e04a41eb
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/admin.py b/admin.py
index 22b196e..2c74577 100644
--- a/admin.py
+++ b/admin.py
@@ -54,18 +54,12 @@ if default_vlan_id is None:
switches = db.all_switches()
print 'The DB knows about %d switch(es)' % len(switches)
-if len(switches) > 0:
- print switches
ports = db.all_ports()
print 'The DB knows about %d port(s)' % len(ports)
-if len(ports) > 0:
- print ports
vlans = db.all_vlans()
print 'The DB knows about %d vlan(s)' % len(vlans)
-if len(vlans) > 0:
- print vlans
print 'The default vlan tag (%d) is vlan_id %d' % (default_vlan_tag, default_vlan_id)
@@ -244,9 +238,6 @@ parser.add_option_group(vlan_group)
(opts, args) = parser.parse_args()
-print opts
-print args
-
if opts.list_all_switches:
result = db.all_switches()
count = 0;