[mhonarc] handle_message: if new path is unknown, return old path
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mhonarc] handle_message: if new path is unknown, return old path
- Date: Wed, 13 Feb 2013 14:59:43 +0000 (UTC)
commit cd38fb6d3d9e0ddc8d2e9bbc47968b390cedc7ba
Author: Olav Vitters <olav vitters nl>
Date: Wed Feb 13 15:59:39 2013 +0100
handle_message: if new path is unknown, return old path
archive.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/archive.py b/archive.py
index c68b3bb..1fd010b 100755
--- a/archive.py
+++ b/archive.py
@@ -177,7 +177,7 @@ class Archiver:
fd.seek(0)
shutil.copyfileobj(fd, newmsgs)
- return path
+ return path if path is not None else archivepath
def process_fd(self, fd):
"""Process a filedescriptor for multiple emails seperated using the mbox format
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]