Commits

Anonymous committed 5d9cb87

[svn r6047] XmlRpcPlugin: Adding RPC to systeminfo dictionary, so that the plugin version information will show up under 'About' (for administrators at least). Please include the table of software versions when reporting issues.

  • Participants
  • Parent commits 26f0ab0

Comments (0)

Files changed (1)

File trunk/tracrpc/api.py

 
     method_handlers = ExtensionPoint(IXMLRPCHandler)
 
+    def __init__(self):
+        self.env.systeminfo.append(('RPC',
+                        __import__('tracrpc', ['__version__']).__version__))
+
     # IPermissionRequestor methods
     def get_permission_actions(self):
         yield 'XML_RPC'