rm unused var
This commit is contained in:
parent
b4b96c837c
commit
d889488c00
1 changed files with 0 additions and 3 deletions
|
@ -26,11 +26,8 @@ try:
|
||||||
import dbus.service
|
import dbus.service
|
||||||
# cause dbus 0.35+ doesn't return signal replies without it
|
# cause dbus 0.35+ doesn't return signal replies without it
|
||||||
import dbus.glib
|
import dbus.glib
|
||||||
|
|
||||||
version = getattr(dbus, 'version')
|
|
||||||
supported = True
|
supported = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
version = (0, 0, 0)
|
|
||||||
supported = False
|
supported = False
|
||||||
if not os.name == 'nt': # only say that to non Windows users
|
if not os.name == 'nt': # only say that to non Windows users
|
||||||
print _('D-Bus python bindings are missing in this computer')
|
print _('D-Bus python bindings are missing in this computer')
|
||||||
|
|
Loading…
Add table
Reference in a new issue