Logo Search packages:      
Sourcecode: d-feet version File versions  Download package

def dfeet::settings::Settings::__init__ (   self,
  filename = None 
)
Creates a new instance of Settings.

Parameters:
    filename -- path to the settings file.
        If None, the default ~/.dfeet/config will be used.

Definition at line 26 of file settings.py.

                                       :
        """
        Creates a new instance of Settings.
        
        Parameters:
            filename -- path to the settings file.
                        If None, the default ~/.dfeet/config will be used.
        """
        if not filename:
            self.filename = os.path.expanduser("~/.d-feet/config")
        else:
            self.filename = filename
        self.config = ConfigParser.ConfigParser()

        self.read()


Generated by  Doxygen 1.6.0   Back to index