hg site extension
 
(Arne Babenhauserheide)
2014-05-18: more error output on EOFError

more error output on EOFError

diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -1465,7 +1465,7 @@ def upload(ui, repo, target, ftpstring, 
     except socket.timeout:
         ui.warn(_("connection to "), server, _(" timed out after "), timeout, _(" seconds.\n"))
         return
-    except EOFError as e: # ??? FIXME!
+    except EOFError as e: # ??? FIXME! Maybe use this? https://pypi.python.org/pypi/ftputil/2.4.1
         ui.warn(_("connection to "), server, _(" failed due to an EOFError "), _(str(e)), _(". We do not know how to fix that, yet. Sorry.\n"))
         raise