diff --git a/python3/examples/XenAPI/XenAPI.py b/python3/examples/XenAPI/XenAPI.py index 68701c8f16..e62d0b7673 100644 --- a/python3/examples/XenAPI/XenAPI.py +++ b/python3/examples/XenAPI/XenAPI.py @@ -118,6 +118,7 @@ def with_tracecontext(self): for k, v in headers.items(): self.add_extra_header(k, v) def make_connection(self, host): + self._extra_headers = [] self.with_tracecontext() originator_k = "ORIGINATOR"