]> git.pld-linux.org Git - packages/python-skype.git/blob - default-transport.patch
- release 7 (by relup.sh)
[packages/python-skype.git] / default-transport.patch
1 restore default transport being X11, dbus crashes so randomly
2
3 http://stackoverflow.com/questions/7827108/unexplained-segfault-in-python
4
5 http://skype4py.svn.sourceforge.net/viewvc/skype4py?view=revision&revision=277
6 http://skype4py.svn.sourceforge.net/viewvc/skype4py/Skype4Py/api/posix.py?r1=277&r2=276&pathrev=277
7 http://skype4py.svn.sourceforge.net/viewvc/skype4py/Skype4Py/api/posix.py?view=patch&r1=277&r2=276&pathrev=277
8
9 it could be also be python 2.6+ related:
10 https://github.com/stigkj/Skype4Py/commit/431b3cee9b3ab72138af69f2ccef2aff0002deda.patch
11
12 --- Skype4Py/api/posix.py       2009/09/24 14:59:43     276
13 +++ Skype4Py/api/posix.py       2009/09/26 12:21:04     277
14 @@ -28,19 +28,8 @@
15  __all__ = ['SkypeAPI']
16  
17  
18 -# the posix_x11 module has to be imported as soon as possible so it can initialize
19 -# the X11 library; without this extra import it would be loaded during first Skype
20 -# object instantiation; any possible exceptions are ignored because the module is
21 -# not really needed at this point and the errors will be reported anyway during
22 -# Skype object instantiation
23 -try:
24 -    import posix_x11
25 -except:
26 -    pass
27 -
28 -
29  def SkypeAPI(opts):
30 -    trans = opts.pop('Transport', 'x11')
31 +    trans = opts.pop('Transport', 'dbus')
32      if trans == 'dbus':
33          from posix_dbus import SkypeAPI
34      elif trans == 'x11':
This page took 0.098938 seconds and 3 git commands to generate.