# HG changeset patch # User darius@inchoate.localdomain # Date 1195608460 -37800 # Node ID 825302e32c35a8cc6749ea6da27709bba7fc5ebd # Parent 5058c26951099ae8d76f451c7d79aff9602cc8bf Print out the server IP & port tuple as well as the name. diff -r 5058c2695109 -r 825302e32c35 scrape-gm.py --- a/scrape-gm.py Sun Nov 18 08:54:07 2007 +0000 +++ b/scrape-gm.py Wed Nov 21 11:57:40 2007 +1030 @@ -78,9 +78,10 @@ for p in self.players: plist = plist + " " + str(p) - return "%s | Map: %s | Players: %d/%d : %s (%s old)" % \ - (self.description, self.mapname, self.numplayers, self.maxplayers, \ - plist, self.updateage) + return "%s (%s:%d) | Map: %s | Players: %d/%d : %s (%s old)" % \ + (self.description, self.ip, self.port, self.mapname, + self.numplayers, self.maxplayers, plist, + self.updateage) def GetTuple(scols): return str(scols[2]) + ":" + str(scols[3])