]> git.phdru.name Git - mimedecode.git/commitdiff
Cleanup: Fix flake8 E306 expected 1 blank line before a nested definition, found 0
authorOleg Broytman <phd@phdru.name>
Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 15 Oct 2017 15:15:53 +0000 (18:15 +0300)
mimedecode.py

index 0ec5e799fd22ce1ceb6071706729ea8f082b7f8a..69af1ac984ffa78e71818f38cb5009c97a098be4 100755 (executable)
@@ -342,10 +342,12 @@ def _save_message(msg, outstring, save_headers=False, save_body=False):
     global output
     save_output = output
     outfile = open_output_file(fname)
+
     def _output_bytes(s):
         if not isinstance(s, bytes):
             s = s.encode(g.default_encoding, "replace")
         outfile.write(s)
+
     output = _output_bytes
     if save_headers:
         output_headers(msg)