Module: check_mk
Branch: master
Commit: 932a784fd3596c3fa051287bdcce69ec9c3e24fe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=932a784fd3596c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 14 14:43:05 2015 +0200
livedump-mail-fetch: Is now handling responses from servers more generic
---
doc/treasures/livedump/livedump-mail-fetch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/treasures/livedump/livedump-mail-fetch
b/doc/treasures/livedump/livedump-mail-fetch
index e88b89f..d681d38 100755
--- a/doc/treasures/livedump/livedump-mail-fetch
+++ b/doc/treasures/livedump/livedump-mail-fetch
@@ -123,7 +123,7 @@ try:
for entry in msglist:
msgid, size = entry.split()
response = M.dele(msgid)
- if response != "+OK":
+ if not response.startswith('+OK'):
raise Exception("Error from POP server: [%s]" % response)
break