chiark / gitweb /
but prettier like this
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 15 May 2009 18:59:53 +0000 (19:59 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 15 May 2009 18:59:53 +0000 (19:59 +0100)
yoweb-scrape

index 65f949b..a8a1a11 100755 (executable)
@@ -318,7 +318,7 @@ class StandingsTable:
                self._cw = col_width-1
 
        def _pline(self, pirate, puzstrs):
-               self.s += ' %-*s' % (max_pirate_namelen, pirate)
+               self.s += ' %-*s' % (max(max_pirate_namelen, 14), pirate)
                for v in puzstrs:
                        self.s += ' %-*.*s' % (self._cw,self._cw, v)
                self.s += '\n'