Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2015-08-25 16:52:45 +0300
committerCasey Deccio <casey@deccio.net>2015-08-25 16:52:45 +0300
commitcb2d7d9250075768c54be41b9e8b26fd9dfaca4a (patch)
tree7cc4dab7e28e635ed1b3419acd87c9fc944c0abd /bin
parentaaf6a376e870f4a1f3844a624a0d8be3764adc64 (diff)
Fix indents
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dnsviz4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dnsviz b/bin/dnsviz
index 11fa288..7df7cf0 100755
--- a/bin/dnsviz
+++ b/bin/dnsviz
@@ -154,7 +154,7 @@ STATUS_MAP = {
def textualize_status_output(names, show_color):
s = ''
name_template = '%(status_color)s%(name)s%(color_reset)s\n'
- response_prefix = ' %(status_color)s%(status)s%(preindent)s%(indent)s%(rdtype)s: '
+ response_prefix = ' %(status_color)s%(status)s%(preindent)s %(indent)s%(rdtype)s: '
response_rdata = '%(rdata)s%(color_reset)s%(status_color_rdata)s%(status_rdata)s%(color_reset)s'
join_str_template = '%(status_color)s, '
params = {}
@@ -211,7 +211,7 @@ def textualize_status_output(names, show_color):
warning_str = STATUS_MAP['WARNING']
else:
warning_str = ''
- params['status'] = ' [%s%s%s]' % (STATUS_MAP[status], error_str, warning_str)
+ params['status'] = '[%s%s%s]' % (STATUS_MAP[status], error_str, warning_str)
if errors:
if warnings: