Esempio n. 1
0
 def __init__(self):
     Pdod.__init__(
         self,
         os.path.join(
             getdatadir() + os.sep + 'plugs' + os.sep +
             'jsb.plugs.sockets.mpd', 'mpd'))
     self.running = False
     self.lastsong = -1
Esempio n. 2
0
    def __init__(self, fname):

        # call base constructor
        Pdod.__init__(self, fname)

        # make sure attributes are initialised
        for j in self.data.values():
            if not j.has_key('perms'):
                j['perms'] = []
            if not j.has_key('autovoice'):
                j['autovoice'] = 0
Esempio n. 3
0
    def __init__(self, fname):

        # call base constructor
        Pdod.__init__(self, fname)

        # make sure attributes are initialised
        for j in self.data.values():
            if not j.has_key('perms'):
                j['perms'] = []
            if not j.has_key('autovoice'):
                j['autovoice'] = 0
Esempio n. 4
0
 def __init__(self):
     self.registered = False
     Pdod.__init__(self, getdatadir() + os.sep + 'plugs' + os.sep + 'jsb.plugs.nickserv' + os.sep + 'nickserv')
Esempio n. 5
0
 def __init__(self):
     self.datadir = getdatadir() + os.sep + 'plugs' + os.sep + 'jsb.plugs.common.seen'
     Pdod.__init__(self, os.path.join(self.datadir, 'seen.data'))
Esempio n. 6
0
 def __init__(self):
     self.registered = False
     Pdod.__init__(
         self,
         getdatadir() + os.sep + 'plugs' + os.sep + 'jsb.plugs.nickserv' +
         os.sep + 'nickserv')
Esempio n. 7
0
File: mpd.py Progetto: code2u/jsb
 def __init__(self):
     Pdod.__init__(self, os.path.join(getdatadir() + os.sep + 'plugs' + os.sep + 'jsb.plugs.sockets.mpd', 'mpd'))
     self.running = False
     self.lastsong = -1
Esempio n. 8
0
 def __init__(self):
     self.datadir = os.path.join(datadir, 'plugs', 'jsb.plugs.common.sed')
     Pdod.__init__(self, os.path.join(self.datadir, 'sed.data'))
     if not self.data:
         self.data = {}
Esempio n. 9
0
    def __init__(self):
        Pdod.__init__(self, os.path.join(getdatadir() + os.sep + 'plugs' + os.sep \
+ 'bugtracker', 'bugtracker'))
        self.load()
Esempio n. 10
0
 def __init__(self):
     self.datadir = os.path.join(datadir, 'plugs', 'jsb.plugs.common.sed')
     Pdod.__init__(self, os.path.join(self.datadir, 'sed.data'))
     if not self.data:
         self.data = {}
Esempio n. 11
0
 def __init__(self):
     self.datadir = getdatadir(
     ) + os.sep + 'plugs' + os.sep + 'jsb.plugs.common.seen'
     Pdod.__init__(self, os.path.join(self.datadir, 'seen.data'))
Esempio n. 12
0
    def __init__(self):
        Pdod.__init__(self, os.path.join(getdatadir() + os.sep + 'plugs' + os.sep \
+ 'bugtracker', 'bugtracker'))
        self.load()