From: Plamen Dimitrov Date: Fri, 25 Jan 2019 17:33:15 +0000 (+0200) Subject: Deprecate irrelevant autotest comments in the cnfvar X-Git-Tag: v1.4~5^2~1 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=a2a28da43291bbc85cfb11563a32e4d17eaf1d6b;p=pyi2ncommon Deprecate irrelevant autotest comments in the cnfvar --- diff --git a/src/cnfvar.py b/src/cnfvar.py index 5999ba6..551093a 100644 --- a/src/cnfvar.py +++ b/src/cnfvar.py @@ -713,11 +713,6 @@ def write_cnf_raw(*argv, **kw_argv): def output_cnf(root, out, renumber=False, bytes=True): cnf = cnf_root(root) - # Cthulhu (a.k.a Autotest) hates us so much he replaced the innocuous - # stdout with some chimera that isn't derived from ``file``, rendering - # the following sanity check moot. - # if not isinstance(out, file): - # raise TypeError("%s (%s) is not a stream." % (out, type(out))) if renumber is True: _count = renumber_vars(root) if is_cnf(cnf) is True: