Deprecate irrelevant autotest comments in the cnfvar
authorPlamen Dimitrov <pdimitrov@pevogam.com>
Fri, 25 Jan 2019 17:33:15 +0000 (19:33 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 7 Feb 2019 15:50:39 +0000 (16:50 +0100)
src/cnfvar.py

index 5999ba6..551093a 100644 (file)
@@ -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: