polite/configuration.py
def copy_config(self, overwrite=False,
                          new_ext='.new'):

        '''Copy a user editable config file to the target directory.

        Args:
            overwrite (bool, optional): Copy the config files to
              target directory even if it already exists. Default to False
            new_dir (str, optional): If user_config_path exists and overwrite
              is False copy the configuration with this extension. Defaults to
              ".new".

        '''
        
        if self.directory_map is None:
            
            error_str = "No source directory available."
            raise ValueError(error_str)

        self.directory_map.copy_file(self.config_file_name,
                                     overwrite=overwrite,
                                     new_ext=new_ext)

        return
Copy a user editable config file to the target directory.

        Args:
            overwrite (bool, optional): Copy the config files to
              target directory even if it already exists. Default to False
            new_dir (str, optional): If user_config_path exists and overwrite
              is False copy the configuration with this extension. Defaults to
              ".new".

        
Copy a user editable config file to the target directory.
Copy a user editable config file to the target directory .
def copy_config(self, overwrite=False,
                          new_ext='.new'):
        if self.directory_map is None:
            error_str = "No source directory available."
            raise ValueError(error_str)
        self.directory_map.copy_file(self.config_file_name,
                                     overwrite=overwrite,
                                     new_ext=new_ext)
        return
def copy_config ( self , overwrite = False , new_ext = '.new' ) : if self . directory_map is None : error_str = "No source directory available." raise ValueError ( error_str ) self . directory_map . copy_file ( self . config_file_name , overwrite = overwrite , new_ext = new_ext ) return
Copy a user editable config file to the target directory.
Copy a user editable config file to the target directory .
'''Copy a user editable config file to the target directory.

        Args:
            overwrite (bool, optional): Copy the config files to
              target directory even if it already exists. Default to False
            new_dir (str, optional): If user_config_path exists and overwrite
              is False copy the configuration with this extension. Defaults to
              ".new".

        '''
self
overwrite
Copy the config files to
target directory even if it already exists. Default to False
Copy the config files to target directory even if it already exists . Default to False
new_ext
new_dir
If user_config_path exists and overwrite
is False copy the configuration with this extension. Defaults to
".new".
If user_config_path exists and overwrite is False copy the configuration with this extension . Defaults to " . new " .