Revision bac6ed1e snf-cyclades-app/synnefo/management/pprint.py
b/snf-cyclades-app/synnefo/management/pprint.py | ||
---|---|---|
117 | 117 |
pprint_table(stdout, g_net.items(), None, |
118 | 118 |
title="State of network in backend: %s" % |
119 | 119 |
backend.clustername) |
120 |
pprint_pool(None, ip_map, 80, stdout) |
|
120 |
if network.subnet4 is not None: |
|
121 |
pprint_pool(None, ip_map, 80, stdout) |
|
121 | 122 |
except GanetiApiError as e: |
122 | 123 |
if e.code == 404: |
123 | 124 |
stdout.write('Network does not exist in backend %s\n' % |
Also available in: Unified diff