Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Oliver <excid3@gmail.com>2012-01-19 19:14:37 -0600
committerChris Oliver <excid3@gmail.com>2012-01-19 19:14:37 -0600
commit673c93d50079e2ec71fe1696ef333b4eb308bc46 (patch)
tree14d4fffd32edbc9c328196a529b7fe6224f0f75c
parent829de89d1f5ba987a153739e5eeaa3e27110e5d8 (diff)
Try reconnect if other type of error
-rw-r--r--logbot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/logbot.py b/logbot.py
index 8cc23b6..c7f500c 100644
--- a/logbot.py
+++ b/logbot.py
@@ -223,6 +223,8 @@ class Logbot(SingleServerIRCBot):
raise e
except ftplib.error_temp, e: # Reconnect on timeout
self.set_ftp(connect_ftp())
+ except ftplib.error, e: # Unsure of error, try reconnecting
+ self.set_ftp(connect_ftp())
print "Finished uploading"