forked from pool/python-pybluez
on linux 3 library not work, because no detect linux. Application wammu no works without it patch. OBS-URL: https://build.opensuse.org/request/show/79704 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybluez?expand=0&rev=9
14 lines
575 B
Diff
14 lines
575 B
Diff
diff -u -r PyBluez-0.18.orig/bluetooth/__init__.py PyBluez-0.18/bluetooth/__init__.py
|
|
--- PyBluez-0.18.orig/bluetooth/__init__.py 2009-11-24 11:39:49.000000000 +0300
|
|
+++ PyBluez-0.18/bluetooth/__init__.py 2011-08-22 23:00:31.000000000 +0400
|
|
@@ -30,7 +30,7 @@
|
|
_dbg("Widcomm not ready. falling back to MS stack")
|
|
from msbt import *
|
|
|
|
-elif sys.platform == "linux2":
|
|
+elif sys.platform == "linux2" or sys.platform == "linux3":
|
|
from bluez import *
|
|
elif sys.platform == "darwin":
|
|
from osx import *
|
|
Только в PyBluez-0.18/bluetooth: __init__.py~
|