def remove_repeating_from_task(task_name, s):
 module = (str(task_name).rpartition(u'.')[0] + u'.')
 return remove_repeating(module, s)

def remove_repeating_from_task ( task_name , s ) : module = ( str ( task_name ) . rpartition ( u'.' ) [ 0 ] + u'.' ) return remove_repeating ( module , s )
given task name .