From da5a0a12429fb8466d0fc6d6a85ad4ed2056f792 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 23 Jan 2020 16:44:16 +0300 Subject: [PATCH] Simpler boolean expression --- pyderasn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyderasn.py b/pyderasn.py index f563afe..d3b304c 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -5752,7 +5752,7 @@ def main(): # pragma: no cover print(pprinter( obj, oid_maps=oid_maps, - with_colours=True if environ.get("NO_COLOR") is None else False, + with_colours=environ.get("NO_COLOR") is None, with_decode_path=args.print_decode_path, decode_path_only=( () if args.decode_path_only is None else -- 2.44.0