Logo Search packages:      
Sourcecode: lastfmsubmitd version File versions  Download package

def lastfm::client::Client::__init__ (   self,
  name,
  conf = None,
  log = True 
)

Create something that can hand submissions over to a running
lastfmsubmitd; by default, look for the one defined by the standard
config, but if ``conf`` is supplied, talk to that one.

Reimplemented in lastfm::client::Daemon.

Definition at line 18 of file client.py.

00018                                                  :
        """Create something that can hand submissions over to a running
        lastfmsubmitd; by default, look for the one defined by the standard
        config, but if ``conf`` is supplied, talk to that one."""

        self.name = name
        if conf:
            self.conf = conf
        else:
            self.conf = lastfm.config.Config(search='lastfmsubmitd')

    def open_log(self, debug=False, stderr=False):


Generated by  Doxygen 1.6.0   Back to index