File: __init__.py

package info (click to toggle)
gpodder 3.11.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,272 kB
  • sloc: python: 19,713; sh: 574; xml: 122; makefile: 112
file content (15 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import dbus.exceptions  # noqa: F401


class SessionBus(object):
    def __init__(self, *args, **kwargs):
        self.fake = True

    def add_signal_receiver(self, *args, **kwargs):
        pass

    def name_has_owner(self, *args, **kwargs):
        return False


SystemBus = SessionBus