]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - pyderasn.py
Simpler boolean expression
[pyderasn.git] / pyderasn.py
index f563afef86964240e57971d85c91fa35d40de0c8..d3b304ca8d3cb452b2adf2733b44c2d33dc27684 100755 (executable)
@@ -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