'Outputs the current resource limits.
Args:
output: The file handle to write the output to (used for testing).'

def ResourceLimitsInfo(self, output=None):

    rpcserver = self._GetRpcServer()
    appyaml = self._ParseAppInfoFromYaml(self.basepath)
    request_params = {'app_id': appyaml.application, 'version': appyaml.version}
    logging_context = _ClientDeployLoggingContext(rpcserver, request_params, usage_reporting=False)
    resource_limits = GetResourceLimits(logging_context, self.error_fh)
    for attr_name in sorted(resource_limits):
        print >>output, ('%s:    %s' % (attr_name, resource_limits[attr_name]))
