changeset 3091:7e710fa829d0

Fix wikisync error handling: show the real error (ported from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 01:02:44 +0100
parents 93ae352854be
children e3846a8e4bd5
files MoinMoin/wikisync.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikisync.py	Sun Feb 03 21:49:26 2008 +0100
+++ b/MoinMoin/wikisync.py	Sat Feb 23 01:02:44 2008 +0100
@@ -180,8 +180,8 @@
             iw_list = self.connection.interwikiName()
         except socket.error:
             raise UnsupportedWikiException(_("The wiki is currently not reachable."))
-        except xmlrpclib.Fault:
-            raise UnsupportedWikiException(_("The remote version of MoinMoin is too old, version 1.6 is required at least."))
+        except xmlrpclib.Fault, err:
+            raise UnsupportedWikiException("xmlrpclib.Fault: %s" % str(err))
 
         if user and password:
             token = self.connection.getAuthToken(user, password)