Logo Search packages:      
Sourcecode: lastfmsubmitd version File versions

lastfm::config::DefaultPath Class Reference

List of all members.

Detailed Description

The default paths we want depend on whether this is a "system"
instance (/etc, /var), or running under a normal user account ($HOME).
So that we can reuse this code for other daemons, the paths are
specified as lambda expressions that take the current program's name.
They may or may not use this parameter (i.e., lastfmsubmitd itself and a
client using this interface will have separate log files, but obviously
must share the same spool directory). The "user" version of a path
should contain ~, which this class will expand. Creates a callable that
takes whether or not we want the "system" version, and the name.

Definition at line 4 of file config.py.

Public Member Functions

def __call__
def __init__

Public Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index