Commit 504ba6e6 authored by Marco Mariani's avatar Marco Mariani

pep8

parent 921d9325
...@@ -171,16 +171,14 @@ def do_show(conf): ...@@ -171,16 +171,14 @@ def do_show(conf):
conn.create_function('md5', 1, lambda s: hashlib.md5(s).hexdigest()) conn.create_function('md5', 1, lambda s: hashlib.md5(s).hexdigest())
print_all = not any( print_all = not any([
[
conf.computers, conf.computers,
conf.software, conf.software,
conf.partitions, conf.partitions,
conf.slaves, conf.slaves,
conf.params, conf.params,
conf.network, conf.network,
] ])
)
if print_all or conf.computers: if print_all or conf.computers:
print_computer_table(conn) print_computer_table(conn)
...@@ -200,5 +198,3 @@ def do_show(conf): ...@@ -200,5 +198,3 @@ def do_show(conf):
if print_all or conf.network: if print_all or conf.network:
print_network(conn) print_network(conn)
print print
...@@ -41,4 +41,3 @@ class ProxyStartCommand(ConfigCommand): ...@@ -41,4 +41,3 @@ class ProxyStartCommand(ConfigCommand):
conf.setConfig() conf.setConfig()
do_proxy(conf=conf) do_proxy(conf=conf)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment