substitute the result for commands_dict. for every name and app in return value of the function six.iteritems calle with return argument of function get_commands as an arugment,
for name , app in six . iteritems ( get_commands ( ) ) :