Skip to content

Commit

Permalink
rrdd.py: Python3: Fix crash on failure contacting xcp-rrdd
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Kaindl <[email protected]>
  • Loading branch information
bernhardkaindl committed Feb 7, 2024
1 parent 8b7d5e4 commit c70b4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xcp-rrdd/scripts/rrdd/rrdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def wait_until_next_reading(self, neg_shift=1):
return
except socket.error:
msg = "Failed to contact xcp-rrdd. Sleeping for 5 seconds .."
print >> sys.stderr, msg
print(msg, file=sys.stderr)
time.sleep(5)

def update(self):
Expand Down

0 comments on commit c70b4cd

Please sign in to comment.