              src, dst = renaming(img_list[i][0], output_dir, i, self.changes)
  
              try:
                  os.rename(src, dst)
              except FileNotFoundError as e:
                  print(e)
                  print('fail to rename {}'.format(src))
  
          if self.args.log_changes:
              self.write_to_log(self.changes)
  
 
</s> remove             except FileNotFoundError as e:
                print(e)
 </s> add             except FileNotFoundError as err:
                print(err) </s> remove                 except FileNotFoundError as e:
                    print(e)
 </s> add                 except FileNotFoundError as err:
                    print(err) </s> remove 
            return renaming

 </s> add  </s> remove 
            return renaming
 </s> add         return renaming </s> remove 
                return process_file
 </s> add         return process_file
            except FileNotFoundError as err:
                print(err)
              src, dst = renaming(img_list[i][0], output_dir, i, self.changes)
  
              try:
                  os.rename(src, dst)
            except FileNotFoundError as err:
                print(err)
            except FileNotFoundError as err:
                print(err)
                  print('fail to rename {}'.format(src))
  
          if self.args.log_changes:
              self.write_to_log(self.changes)
  
keep keep keep keep replace replace keep keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py