Skip to content

Commit

Permalink
better debug logging under py3k: strip annoying bytes prefix from str…
Browse files Browse the repository at this point in the history
…ings

git-svn-id: https://xpra.org/svn/Xpra/trunk@18605 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 26, 2018
1 parent 913123a commit a11b365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xpra/client/mixins/clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def make_clipboard_helper(self):

def _process_clipboard_packet(self, packet):
ch = self.clipboard_helper
log("process_clipboard_packet: %s, helper=%s", packet[0], ch)
log("process_clipboard_packet: %s, helper=%s", bytestostr(packet[0]), ch)
if ch:
ch.process_clipboard_packet(packet)

Expand Down
2 changes: 1 addition & 1 deletion src/xpra/clipboard/clipboard_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def _process_clipboard_loop_uuids(self, packet):

def process_clipboard_packet(self, packet):
packet_type = packet[0]
log("process clipboard packet type=%s", packet_type)
log("process clipboard packet type=%s", bytestostr(packet_type))
self._packet_handlers[packet_type](packet)


Expand Down

0 comments on commit a11b365

Please sign in to comment.