Moved DBus type related instructions to scope which is executed only when there's a DBus support. No NameError exceptions are thrown anymore.

Makes debugging of plugins easier under WingIDE (which does not remember - at least it looks like that - the "ignore exception at this location" option when module is imported 'manually').

This could also be applied to src/remote_control.py .
This commit is contained in:
Mateusz Biliński 2009-04-16 08:37:16 +00:00
parent da928f9183
commit 369ea5544b
1 changed files with 620 additions and 619 deletions

File diff suppressed because it is too large Load Diff