Commits

Martin Geisler committed f11e0b1

removed unnecessary comparison with True

  • Participants
  • Parent commits 3b8007e

Comments (0)

Files changed (1)

     >>> '**' in entry.__str__()
     True
     """
-    if kwargs.get('autodetect_encoding', True) == True:
+    if kwargs.get('autodetect_encoding', True):
         enc = detect_encoding(pofile)
     else:
         enc = kwargs.get('encoding', default_encoding)
     ...     finally:
     ...         os.unlink(tmpf)
     """
-    if kwargs.get('autodetect_encoding', True) == True:
+    if kwargs.get('autodetect_encoding', True):
         enc = detect_encoding(fpath, True)
     else:
         enc = kwargs.get('encoding', default_encoding)