def ListResources(self, credentials, options):
        compressed = False
        if options and 'geni_compressed' in options:
            compressed  = options['geni_compressed']
        print 'ListResources(compressed=%r)' % (compressed)
        # return an empty rspec
        result = '<rspec type="GCF"/>'
        if compressed:
            result = xmlrpclib.Binary(zlib.compress(result))
        return result
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/ext/geni/am.py/PrintingAggregateManager.ListResources/original