homekeeper/config.py
def save(self, pathname=None):
        """Saves the configuration data to a file. Existing configuration will
        be removed.

        Args:
            pathname: The file to save the configuration to.
        """
        pathname = pathname or self.pathname
        if os.path.exists(pathname):
            os.remove(pathname)
        with util.fopen(pathname, 'w') as cfile:
            cfile.write(json.dumps(self.data, sort_keys=True, indent=4))
        logging.info('saved configuration to %s', pathname)
Saves the configuration data to a file. Existing configuration will
        be removed.

        Args:
            pathname: The file to save the configuration to.
        
Saves the configuration data to a file. Existing configuration will
be removed.
Saves the configuration data to a file . Existing configuration will be removed .
def save(self, pathname=None):
        pathname = pathname or self.pathname
        if os.path.exists(pathname):
            os.remove(pathname)
        with util.fopen(pathname, 'w') as cfile:
            cfile.write(json.dumps(self.data, sort_keys=True, indent=4))
        logging.info('saved configuration to %s', pathname)
def save ( self , pathname = None ) : pathname = pathname or self . pathname if os . path . exists ( pathname ) : os . remove ( pathname ) with util . fopen ( pathname , 'w' ) as cfile : cfile . write ( json . dumps ( self . data , sort_keys = True , indent = 4 ) ) logging . info ( 'saved configuration to %s' , pathname )
Saves the configuration data to a file.
Saves the configuration data to a file .
"""Saves the configuration data to a file. Existing configuration will
        be removed.

        Args:
            pathname: The file to save the configuration to.
        """
self
pathname
The file to save the configuration to.
The file to save the configuration to .