diff options
Diffstat (limited to 'x11-wm/plwm/files/plwm-2.6_alpha-python2.5.patch')
-rw-r--r-- | x11-wm/plwm/files/plwm-2.6_alpha-python2.5.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-wm/plwm/files/plwm-2.6_alpha-python2.5.patch b/x11-wm/plwm/files/plwm-2.6_alpha-python2.5.patch new file mode 100644 index 000000000000..af22a96504a9 --- /dev/null +++ b/x11-wm/plwm/files/plwm-2.6_alpha-python2.5.patch @@ -0,0 +1,21 @@ +diff -ur PLWM-2.6a.orig/plwm/inspect.py PLWM-2.6a/plwm/inspect.py +--- PLWM-2.6a.orig/plwm/inspect.py 2007-06-29 14:40:54.000000000 +0200 ++++ PLWM-2.6a/plwm/inspect.py 2007-06-29 14:41:25.000000000 +0200 +@@ -23,7 +23,7 @@ + import sys + import traceback + import struct +-import whrandom ++import random + import cStringIO + + InspectFileEventType = event.new_event_type() +@@ -75,7 +75,7 @@ + # portnumber in a property on screen 0 + + addr, port = self.inspect_socket.getsockname() +- self.inspect_cookie = whrandom.randint(0, 0x7ffffffe) ++ self.inspect_cookie = random.randint(0, 0x7ffffffe) + + self.default_screen.root.change_property(self.PLWM_INSPECT_SERVER, + self.PLWM_INSPECT_SERVER, |