#NEWLINE# def main( ) : #NEWLINE# #INDENT# with TokuTransaction ( ) : #NEWLINE# #INDENT# for file in BoxFile . find ( ) : #NEWLINE# #INDENT# new_path = ( '/' + file . path . split ( '/' ) [ 1 ] ) #NEWLINE# logger . info ( '{} -> {}' . format ( file . path , new_path ) ) #NEWLINE# file . path = new_path #NEWLINE# file . save ( )