Logo Search packages:      
Sourcecode: lastfmsubmitd version File versions

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 20 of file client.py.

00020                                                  :
        """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
        self.conf = conf or lastfm.config.Config(name=self.name)

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


Generated by  Doxygen 1.6.0   Back to index