def print_user_list_deployment(deployment):
    print 'Users'
    if has_str_format:
        print "   {0:15} {1:35} {2:10} {3:10}".format('Name', 'Email', 'Role', 'Deployment')
        for user in deployment['users']:
            print "   {0:15} {1:35} {2:10} {3:10}".format(
                user['username'],
                user['email'],
                user['role'],
                '(app)' if 'app' in user else deployment['name'],
            )
    else:
        print '\n Users'
        print ('Name', 'Email', 'Role', 'Deployment') % "   %-15ls %-35ls %-10ls %-10ls"
        for user in deployment['users']:
            user['deployment'] = '(app)' if 'app' in user else deployment['name']
            print "   %(username)-15ls %(email)-35ls %(role)-10ls %(deployment)-10ls" % (user)
dataset/ETHPy150Open cloudControl/cctrl/cctrl/output.py/print_user_list_deployment/swapped operands of `%`