mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Have blank values end with :
This is a bit more obvious for grep.
This commit is contained in:
parent
b112cb0f16
commit
4a23ca3db1
@ -465,7 +465,7 @@ def print_attrib_path(path, session, requestargs, options, rename=None, attrpref
|
||||
if isinstance(val, list):
|
||||
val = ','.join(val)
|
||||
attrout = '{0}: {1}: {2}'.format(
|
||||
node, printattr, val)
|
||||
node, printattr, val).strip()
|
||||
else:
|
||||
attrout = '{0}: {1}:'.format(node, printattr)
|
||||
elif 'isset' in currattr:
|
||||
@ -473,7 +473,7 @@ def print_attrib_path(path, session, requestargs, options, rename=None, attrpref
|
||||
attrout = '{0}: {1}: ********'.format(node,
|
||||
printattr)
|
||||
else:
|
||||
attrout = '{0}: {1}: '.format(node, printattr)
|
||||
attrout = '{0}: {1}:'.format(node, printattr)
|
||||
elif 'broken' in currattr:
|
||||
attrout = '{0}: {1}: *ERROR* BROKEN EXPRESSION: ' \
|
||||
'{2}'.format(node, printattr,
|
||||
|
Loading…
Reference in New Issue
Block a user