mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
cephadm: block comment should start with '# ' (E265)
Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
parent
6d937393f8
commit
20c5f3d186
@ -4427,9 +4427,10 @@ def list_networks(ctx):
|
||||
|
||||
## sadly, 18.04's iproute2 4.15.0-2ubun doesn't support the -j flag,
|
||||
## so we'll need to use a regex to parse 'ip' command output.
|
||||
#out, _, _ = call_throws(['ip', '-j', 'route', 'ls'])
|
||||
#j = json.loads(out)
|
||||
#for x in j:
|
||||
##
|
||||
# out, _, _ = call_throws(['ip', '-j', 'route', 'ls'])
|
||||
# j = json.loads(out)
|
||||
# for x in j:
|
||||
|
||||
res = _list_ipv4_networks(ctx)
|
||||
res.update(_list_ipv6_networks(ctx))
|
||||
|
@ -5,8 +5,6 @@ skipsdist=true
|
||||
[flake8]
|
||||
max-line-length = 100
|
||||
ignore =
|
||||
E261,
|
||||
E265,
|
||||
E266,
|
||||
E301,
|
||||
E302,
|
||||
|
Loading…
Reference in New Issue
Block a user