Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
arthur-zzz
noc
Commits
60af3460
Commit
60af3460
authored
Nov 24, 2021
by
arthur-zzz
Browse files
Fix ./noc confdb query output
parent
af2c47ff
Pipeline
#34266
passed with stages
in 29 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
commands/confdb.py
View file @
60af3460
...
...
@@ -197,7 +197,7 @@ class Command(BaseCommand):
if
key
not
in
headers
:
headers
+=
[
key
]
width
+=
[
40
]
row
.
insert
(
headers
.
count
(
key
),
r
[
key
])
row
.
insert
(
headers
.
index
(
key
),
r
[
key
])
table
+=
[
row
]
if
table
:
self
.
print
(
"Result:
\n
"
,
format_table
(
width
,
[
headers
]
+
table
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment