Skip to content

Commit

Permalink
CP-41033: further updates to XenAPIPlugin for Python3
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Syms <[email protected]>
  • Loading branch information
MarkSymsCtx committed Oct 28, 2022
1 parent c340514 commit 52a29bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/examples/python/XenAPIPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

from __future__ import print_function

import sys, xmlrpclib, XenAPI
import sys
import six.moves.xmlrpc_client as xmlrpclib
import XenAPI

class Failure(Exception):
"""Provide compatibilty with plugins written against XenServer 5.5 API"""
Expand Down

0 comments on commit 52a29bb

Please sign in to comment.