Changeset - 846e2d8672c4
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 16 years ago 2010-03-14 13:38:47
marcin@python-blog.com
Added message when file removing
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pylons_app/lib/backup_manager.py
Show inline comments
 
@@ -71,12 +71,13 @@ class BackupManager(object):
 

	
 
        subprocess.call(cmd)
 
        logging.info('Transfered file %s to %s', self.backup_file_name, cmd[4])
 
        
 
    
 
    def rm_file(self):
 
        logging.info('Removing file %s', self.backup_file_name)
 
        os.remove(os.path.join(self.backup_file_path, self.backup_file_name))
 
    
 

	
 

	
 
if __name__ == "__main__":
 
    B_MANAGER = BackupManager()
0 comments (0 inline, 0 general)