eyecandy fix

This commit is contained in:
Martinez 2017-03-31 11:00:32 +02:00
parent 1e6776b853
commit 8d77347f22
2 changed files with 10 additions and 4 deletions

View file

@ -590,9 +590,15 @@ class Main:
# Current value # Current value
if option.source != Option_sources.none: if option.source != Option_sources.none:
for raw_value in option._raw_value_list: for raw_value in option._raw_value_list:
print(" Current value (%s): <M>%s<.>" %( colored_current_value = cmd.format_invocation(str(x) for x in raw_value)
if colored_current_value[0] == '"':
colored_current_value = '"<M>' + colored_current_value[1:-1] + '<.>"'
else:
colored_current_value = '<M>' + colored_current_value + '<.>'
print(" Current value (%s): %s" %(
serialize_source(option.source), serialize_source(option.source),
cmd.format_invocation(str(x) for x in raw_value) colored_current_value
)) ))
# some misc flags # some misc flags

View file

@ -4,5 +4,5 @@
major = 1 # VERSION_MAJOR_IDENTIFIER major = 1 # VERSION_MAJOR_IDENTIFIER
minor = 99 # VERSION_MINOR_IDENTIFIER minor = 99 # VERSION_MINOR_IDENTIFIER
# VERSION_LAST_MM 1.99 # VERSION_LAST_MM 1.99
patch = 20 # VERSION_PATCH_IDENTIFIER patch = 21 # VERSION_PATCH_IDENTIFIER
str = "1.99.20" # VERSION_STRING_IDENTIFIER str = "1.99.21" # VERSION_STRING_IDENTIFIER