diff doc/xmlrpc.txt @ 5248:198b6e810c67

Use Python-3-compatible 'as' syntax for except statements Many raise statements near these are also fixed. So are two ivorrect file encoding marks ('utf8'->'utf-8').
author Eric S. Raymond <esr@thyrsus.com>
date Thu, 24 Aug 2017 22:21:37 -0400
parents 14d8f61e6ef2
children 6efa6d44c27a
line wrap: on
line diff
--- a/doc/xmlrpc.txt	Thu Aug 24 17:55:02 2017 -0400
+++ b/doc/xmlrpc.txt	Thu Aug 24 22:21:37 2017 -0400
@@ -174,5 +174,5 @@
    # this will fail with a fault
    try:
       print roundup_server.filter('usr',['0','2','3'],{'username':'demo'})
-   except Exception, msg:
+   except Exception as msg:
       print msg

Roundup Issue Tracker: http://roundup-tracker.org/