def summarize(self, host):
        ''' return information about a particular host '''

        return dict(
            ok          = self.ok.get(host, 0),
            failures    = self.failures.get(host, 0),
            unreachable = self.dark.get(host,0),
            changed     = self.changed.get(host, 0),
            skipped     = self.skipped.get(host, 0)
        )
def summarize ( self , host ) : return dict ( ok = self . ok . get ( host , 0 ) , failures = self . failures . get ( host , 0 ) , unreachable = self . dark . get ( host , 0 ) , changed = self . changed . get ( host , 0 ) , skipped = self . skipped . get ( host , 0 ) )
return information about a particular host