[tor-commits] [chutney/master] Make the formatting of warnings slightly more consistent

teor at torproject.org teor at torproject.org
Mon Feb 27 15:32:41 UTC 2017


commit 2ee92311eb62c2c24777b92e1924e0ffeebeae87
Author: teor <teor2345 at gmail.com>
Date:   Tue Feb 28 02:24:24 2017 +1100

    Make the formatting of warnings slightly more consistent
    
    Part of tor's 21570.
---
 tools/warnings.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/warnings.sh b/tools/warnings.sh
index 4a9b54c..da17eda 100755
--- a/tools/warnings.sh
+++ b/tools/warnings.sh
@@ -57,14 +57,14 @@ function show_warnings() {
     fi
     # Give context to the warnings we're about to display
     if [ "$CHUTNEY_WARNINGS_SUMMARY" = true ]; then
-        $ECHO_Q "${GREEN}Summary `basename $1`:${NC}"
+        $ECHO_Q "${GREEN}Summary: `basename $1`${NC}"
     else
-        $ECHO_Q "${GREEN}Node `basename $1`:${NC}"
+        $ECHO_Q "${GREEN}Node: `basename $1`${NC}"
     fi
     if [ "$CHUTNEY_WARNINGS_IGNORE_EXPECTED" = true -a \
         -e "$IGNORE_FILE" ]; then
         PERMANENT_DIR=`readlink -n "$1"`
-        $ECHO_A "${GREEN}(Detail: chutney/tools/warnings.sh $PERMANENT_DIR)${NC}"
+        $ECHO_A "${GREEN}Detail: chutney/tools/warnings.sh $PERMANENT_DIR${NC}"
     fi
     # Display the warnings, after filtering and counting occurrences
     # must be kept in sync with the filter commands above



More information about the tor-commits mailing list