All pastes #615345 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-12 02:20 UTC
rendered paste body
    def do_stuff(self, results):

        print results

    def load(self):
        """Load window data."""

        get_computersystem = \
            EnumerateInstances(('root', 'penguin'), 'PG_ComputerSystem')

        get_computersystem.deferred.addCallback(do_stuff)

        reactor.connectTCP(HOSTNAME, 5988, get_computersystem)