xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 10 years ago

Closed 10 years ago

Last modified 8 months ago

#60 closed defect (fixed)

Typo in refresh_window()

Reported by: Andy O'Neill Owned by: Antoine Martin
Priority: major Milestone: 0.0.7.x
Component: client Version: 0.0.7.32
Keywords: Cc:

Description

There's a typo in xpra/client.py:194 causing this error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/xpra/client.py", line 194, in refresh_window
    self._client.send_refresh(self, self._id)
TypeError: send_refresh() takes exactly 2 arguments (3 given)

Here's the fix

--- xpra/client.py	(revision 374)
+++ xpra/client.py	(working copy)
@@ -191,7 +191,7 @@
 
     def refresh_window(self):
         log.debug("Automatic refresh for id ", self._id)
-        self._client.send_refresh(self, self._id)
+        self._client.send_refresh(self._id)
 
     def refresh_all_windows(self):
         #this method is only here because we may want to fire it

Change History (3)

comment:1 Changed 10 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Good catch, applied in r375

Thanks!

comment:2 Changed 10 years ago by Antoine Martin

Milestone: current0.0.7.x
Version: 0.0.7.32

comment:3 Changed 8 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/60

Note: See TracTickets for help on using tickets.