chiark / gitweb /
Merge branch 'keyboard'
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 27 May 2009 22:57:54 +0000 (23:57 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 27 May 2009 22:57:54 +0000 (23:57 +0100)
1  2 
yoweb-scrape

diff --cc yoweb-scrape
index 40cdad56c80dbea539ea2c4cc86c01828d35a2c1,d2d194c213e9039b941a1465c464239654ca14ae..d42f4272f5da72cb19d08f82477aad21b551f04a
@@@ -332,17 -348,10 +348,10 @@@ class CrewInfo(SomethingSoupInfo)
  #---------- pretty-printer for tables of pirate puzzle standings ----------
  
  class StandingsTable:
 -      def __init__(self, use_puzzles=None, col_width=6):
 +      def __init__(self, use_puzzles=None, col_width=6, gap_every=5):
                if use_puzzles is None:
                        if opts.ship_duty:
-                               use_puzzles=[
-                                       'Navigating','Battle Navigation',
-                                       'Gunning',
-                                       ['Sailing','Rigging'],
-                                       'Bilging',
-                                       'Carpentry',
-                                       'Treasure Haul'
-                               ]
+                               use_puzzles=duty_puzzles
                        else:
                                use_puzzles=puzzles
                self._puzzles = use_puzzles