From: Sergey Matveev Date: Thu, 23 Jan 2020 13:44:16 +0000 (+0300) Subject: Simpler boolean expression X-Git-Tag: 5.6~8 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=da5a0a12429fb8466d0fc6d6a85ad4ed2056f792 Simpler boolean expression --- 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