diff options
author | Kazuo Teramoto <kaz.rag@gmail.com> | 2012-07-25 11:37:43 -0300 |
---|---|---|
committer | Kazuo Teramoto <kaz.rag@gmail.com> | 2012-07-25 11:37:43 -0300 |
commit | 6eaa111257cc689f73d476265033a7e06df621b0 (patch) | |
tree | 0309289d28f567c7e6f905641be5312f98381d94 | |
parent | 2d47963053378cac1508beda8a87929efd7b670f (diff) |
Rename `os.remove()` to `os.unlink()`
The two functions are exactly the same, but for consistency only use
`os.unlink()` (make grepping easier).
-rw-r--r-- | alot/commands/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 1e91c2d4..f6b79595 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -717,7 +717,7 @@ class OpenAttachmentCommand(Command): tmpfile.close() def afterwards(): - os.remove(tempfile_name) + os.unlink(tempfile_name) else: handler_stdin = StringIO() self.attachment.write(handler_stdin) |