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

def simple-restore-gnome::SRestoreGTK::load_config (   self  ) 

Load the default system configuration file and determine
the default backup location

Definition at line 113 of file simple-restore-gnome.py.

00113                            :
            """
            Load the default system configuration file and determine
            the default backup location
            """
            self.conf = ConfigParser.ConfigParser()

            self.conf.add_section( "places" )
            self.conf.set( "places", "prefix", "/usr" )

            self.conf.read("/etc/sbackup.conf")
            if self.conf.has_option( "general", "target" ):
                  self.default_target = self.conf.get( "general", "target" )

      def init_tree(self):


Generated by  Doxygen 1.6.0   Back to index