diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index bc153ba..8af1d78 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -15,25 +15,25 @@ from gettext import gettext as _
 from gettext import ngettext
 from defaults import *
 from timer import ActiveTimer
-from simple_debug import simple_debug,options
+from simple_debug import simple_debug, options
 from dialog_swallower import SwappableArea
 
 ICON_FACTORY = gtk.IconFactory()
 STOCK_PIXBUFS = {}
-for filename,stock_id in [('footprints.png','tracks'),]:
+for filename, stock_id in [('footprints.png', 'tracks'), ]:
     try:
-        pb = gtk.gdk.pixbuf_new_from_file(os.path.join(IMAGE_DIR,filename))
+        pb = gtk.gdk.pixbuf_new_from_file(os.path.join(IMAGE_DIR, filename))
     except gobject.GError, e:
         print 'Failed to load pixbuf: %s' % e
         continue
     STOCK_PIXBUFS[stock_id]=pb
     iconset = gtk.IconSet(pb)
-    ICON_FACTORY.add(stock_id,iconset)
+    ICON_FACTORY.add(stock_id, iconset)
     ICON_FACTORY.add_default()
 
 gtk.stock_add([('tracks',
                 _('Track moves'),
-                0,0,""),])
+                0, 0, ""), ])
 
 def inactivate_new_game_etc (fun):
     def inactivate_new_game_etc_ (ui, *args, **kwargs):
@@ -57,16 +57,16 @@ def inactivate_new_game_etc (fun):
             if not action:
                 action = ui.uimanager.get_widget(p)
             if not action:
-                print 'No action at path',p
+                print 'No action at path', p
             else:
                 action.set_sensitive(False)
-        ret = fun(ui,*args,**kwargs)
+        ret = fun(ui, *args, **kwargs)
         for p in paths:
             action = ui.uimanager.get_action(p)
             if not action:
                 action = ui.uimanager.get_widget(p)
             if not action:
-                print 'No action at path',p
+                print 'No action at path', p
             else:
                 action.set_sensitive(True)
         return ret
@@ -133,7 +133,7 @@ class UI (gconf_wrapper.GConfWrapper):
 
     initial_prefs = {'group_size':9,
                      'always_show_hints':0,
-                     'player':os.environ.get('USERNAME',''),
+                     'player':os.environ.get('USERNAME', ''),
                      'difficulty':0.0,
                      'minimum_number_of_new_puzzles':MIN_NEW_PUZZLES,
                      'highlight':0,
@@ -175,7 +175,7 @@ class UI (gconf_wrapper.GConfWrapper):
                 self.quit = False
                 # Generate puzzles in background...
                 if self.gconf['generate_puzzles_in_background']:
-                    gobject.timeout_add_seconds(1,lambda *args: self.start_worker_thread() and True)
+                    gobject.timeout_add_seconds(1, lambda *args: self.start_worker_thread() and True)
 
 
     @inactivate_new_game_etc
@@ -187,10 +187,10 @@ class UI (gconf_wrapper.GConfWrapper):
             return True
         self.timer.start_timing()
         if choice[0] == game_selector.NewOrSavedGameSelector.NEW_GAME:
-            self.gsd.change_grid(choice[1],9)
+            self.gsd.change_grid(choice[1], 9)
             self.update_statusbar()
         if choice[0] == game_selector.NewOrSavedGameSelector.SAVED_GAME:
-            saver.open_game(self,choice[1])
+            saver.open_game(self, choice[1])
             self.update_statusbar()
         if self.gconf['show_toolbar']:
             self.tb.show()
@@ -208,7 +208,7 @@ class UI (gconf_wrapper.GConfWrapper):
         self.initialize_prefs()
         self.setup_main_window()
         self.gsd = gsudoku.SudokuGameDisplay()
-        self.gsd.connect('puzzle-finished',self.you_win_callback)
+        self.gsd.connect('puzzle-finished', self.you_win_callback)
         self.setup_color()
         self.setup_actions()
         self.setup_undo()
@@ -223,45 +223,45 @@ class UI (gconf_wrapper.GConfWrapper):
         self.w = gtk.Window()
         self.w.set_default_size(self.gconf['width'], self.gconf['height'])
         self.w.set_title(APPNAME_SHORT)
-        self.w.connect('configure-event',self.resize_cb)
-        self.w.connect('delete-event',self.quit_cb)
+        self.w.connect('configure-event', self.resize_cb)
+        self.w.connect('delete-event', self.quit_cb)
         self.uimanager = gtk.UIManager()
 
     def setup_actions (self):
         self.main_actions = gtk.ActionGroup('MainActions')
         self.main_actions.add_actions([
-            ('Game',None,_('_Game')),
-            ('New',gtk.STOCK_NEW,None,
-             '<Control>n',_('New game'),self.new_cb),
-            ('Print',gtk.STOCK_PRINT,None,
-             None,_('Print current game'),self.print_game),
-            ('PrintMany',gtk.STOCK_PRINT,_('Print _Multiple Sudokus'),
-             None,_('Print more than one sudoku at a time.'),self.print_multiple_games),
-            ('Close',gtk.STOCK_CLOSE,None,'<Control>w',
-             _('Close Sudoku'),self.quit_cb),
-            ('Tools',None,_('_Tools')),
-            ('View',None,_('_View')),
-            ('ShowPossible',gtk.STOCK_DIALOG_INFO,_('_Hint'),
+            ('Game', None, _('_Game')),
+            ('New', gtk.STOCK_NEW, None,
+             '<Control>n', _('New game'), self.new_cb),
+            ('Print', gtk.STOCK_PRINT, None,
+             None, _('Print current game'), self.print_game),
+            ('PrintMany', gtk.STOCK_PRINT, _('Print _Multiple Sudokus'),
+             None, _('Print more than one sudoku at a time.'), self.print_multiple_games),
+            ('Close', gtk.STOCK_CLOSE, None, '<Control>w',
+             _('Close Sudoku'), self.quit_cb),
+            ('Tools', None, _('_Tools')),
+            ('View', None, _('_View')),
+            ('ShowPossible', gtk.STOCK_DIALOG_INFO, _('_Hint'),
              '<Control>h',
              _('Show which numbers could go in the current square.'),
              self.show_hint_cb),
-            ('AutofillCurrentSquare',gtk.STOCK_APPLY,_('_Fill'),'<Control>f',
+            ('AutofillCurrentSquare', gtk.STOCK_APPLY, _('_Fill'), '<Control>f',
              _('Automatically fill in the current square if possible.'),
              self.auto_fill_current_square_cb),
-            ('Autofill',gtk.STOCK_REFRESH,_('Fill _all squares'),'<Control>a',
+            ('Autofill', gtk.STOCK_REFRESH, _('Fill _all squares'), '<Control>a',
              _('Automatically fill in all squares for which there is only one valid value.'),
              self.auto_fill_cb),
-            ('FullScreen',gtk.STOCK_FULLSCREEN,None,
-             'F11',None,self.full_screen_cb),
-            ('PuzzleInfo',gtk.STOCK_ABOUT,_('Puzzle _Statistics'),
-             None,_('Show statistics about current puzzle'),
+            ('FullScreen', gtk.STOCK_FULLSCREEN, None,
+             'F11', None, self.full_screen_cb),
+            ('PuzzleInfo', gtk.STOCK_ABOUT, _('Puzzle _Statistics'),
+             None, _('Show statistics about current puzzle'),
              self.show_info_cb),
-            ('Help',None,_('_Help'),
-             None,None,None),
-            ('About',gtk.STOCK_ABOUT,None,
-             None,None,self.show_about),
-            ('ShowHelp',gtk.STOCK_HELP, _('_Contents'),
-             'F1',None,self.show_help),
+            ('Help', None, _('_Help'),
+             None, None, None),
+            ('About', gtk.STOCK_ABOUT, None,
+             None, None, self.show_about),
+            ('ShowHelp', gtk.STOCK_HELP, _('_Contents'),
+             'F1', None, self.show_help),
             ])
         self.main_actions.add_toggle_actions([
             ('AlwaysShowPossible',
@@ -276,16 +276,16 @@ class UI (gconf_wrapper.GConfWrapper):
              None,
              _('Warn about squares made unfillable by a move'),
              self.impossible_implication_cb),
-            ('Tracker','tracks',_('_Track additions'),
+            ('Tracker', 'tracks', _('_Track additions'),
              '<Control>T',
              _('Mark new additions in a separate color so you can keep track of them.'),
-             self.tracker_toggle_cb,False),
-            ('ToggleToolbar',None,_('Show _Toolbar'),None,None,self.toggle_toolbar_cb,True),
-            ('ToggleHighlight',gtk.STOCK_SELECT_COLOR,_('_Highlighter'),
-             None,_('Highlight the current row, column and box'),self.toggle_highlight_cb,False),
-            ('Generator',None,_('_Generate new puzzles'),None,_('Generate new puzzles.'),
-              self.generate_puzzle_gui,),
-            ('BackgroundGenerator',None,_('Generate new puzzles _while you play'),
+             self.tracker_toggle_cb, False),
+            ('ToggleToolbar', None, _('Show _Toolbar'), None, None, self.toggle_toolbar_cb, True),
+            ('ToggleHighlight', gtk.STOCK_SELECT_COLOR, _('_Highlighter'),
+             None, _('Highlight the current row, column and box'), self.toggle_highlight_cb, False),
+            ('Generator', None, _('_Generate new puzzles'), None, _('Generate new puzzles.'),
+              self.generate_puzzle_gui, ),
+            ('BackgroundGenerator', None, _('Generate new puzzles _while you play'),
              None,
              _('Generate new puzzles in the background while you play. This will automatically pause when the game goes into the background.'),
              self.toggle_generator_cb, True),
@@ -293,14 +293,14 @@ class UI (gconf_wrapper.GConfWrapper):
 
         self.edit_actions = gtk.ActionGroup('EditActions')
         self.edit_actions.add_actions(
-            [('Edit',None,_('_Edit')),
-             ('Undo',gtk.STOCK_UNDO,_('_Undo'),'<Control>z',_('Undo last action'), self.stop_dancer),
-             ('Redo',gtk.STOCK_REDO,_('_Redo'),'<Shift><Control>z',_('Redo last action')),
-             ('Clear',gtk.STOCK_CLEAR,_('_Clear'),'<Control>b',_("Clear entries you've filled in"),self.clear_cb),
-             ('ClearNotes',None,_('Clear _Notes'),None,_("Clear notes and hints"),self.clear_notes_cb),
+            [('Edit', None, _('_Edit')),
+             ('Undo', gtk.STOCK_UNDO, _('_Undo'), '<Control>z', _('Undo last action'), self.stop_dancer),
+             ('Redo', gtk.STOCK_REDO, _('_Redo'), '<Shift><Control>z', _('Redo last action')),
+             ('Clear', gtk.STOCK_CLEAR, _('_Clear'), '<Control>b', _("Clear entries you've filled in"), self.clear_cb),
+             ('ClearNotes', None, _('Clear _Notes'), None, _("Clear notes and hints"), self.clear_notes_cb),
              ])
-        self.uimanager.insert_action_group(self.main_actions,0)
-        self.uimanager.insert_action_group(self.edit_actions,0)
+        self.uimanager.insert_action_group(self.main_actions, 0)
+        self.uimanager.insert_action_group(self.edit_actions, 0)
         self.uimanager.add_ui_from_string(self.ui)
 
     def setup_undo (self):
@@ -309,13 +309,13 @@ class UI (gconf_wrapper.GConfWrapper):
         # Set up our UNDO stuff
         undo_widg = self.edit_actions.get_action('Undo')
         redo_widg = self.edit_actions.get_action('Redo')
-        self.history = Undo.UndoHistoryList(undo_widg,redo_widg)
+        self.history = Undo.UndoHistoryList(undo_widg, redo_widg)
         for entry in self.gsd.__entries__.values():
-            Undo.UndoableGenericWidget(entry,self.history,
+            Undo.UndoableGenericWidget(entry, self.history,
                                        set_method='set_value_from_undo',
                                        pre_change_signal='value-about-to-change'
                                        )
-            Undo.UndoableGenericWidget(entry,self.history,
+            Undo.UndoableGenericWidget(entry, self.history,
                                        set_method='set_notes',
                                        get_method='get_note_text',
                                        signal='notes-changed',
@@ -342,23 +342,23 @@ class UI (gconf_wrapper.GConfWrapper):
         # Add menu bar and toolbar...
         mb = self.uimanager.get_widget('/MenuBar')
         mb.show()
-        self.vb.pack_start(mb,fill=False,expand=False)
+        self.vb.pack_start(mb, fill=False, expand=False)
         self.tb = self.uimanager.get_widget('/Toolbar')
-        self.vb.pack_start(self.tb,fill=False,expand=False)
+        self.vb.pack_start(self.tb, fill=False, expand=False)
         self.main_area = gtk.HBox()
         self.swallower = SwappableArea(self.main_area)
         self.swallower.show()
-        self.vb.pack_start(self.swallower,True,padding=12)
-        self.main_area.pack_start(self.gsd,padding=6)
+        self.vb.pack_start(self.swallower, True, padding=12)
+        self.main_area.pack_start(self.gsd, padding=6)
         self.main_actions.set_visible(True)
         self.game_box = gtk.VBox()
         self.main_area.show()
         self.vb.show()
         self.game_box.show()
-        self.main_area.pack_start(self.game_box,False,padding=12)
+        self.main_area.pack_start(self.game_box, False, padding=12)
         self.statusbar = gtk.Statusbar()
         self.statusbar.show()
-        self.vb.pack_end(self.statusbar,fill=False,expand=False)
+        self.vb.pack_end(self.statusbar, fill=False, expand=False)
         self.w.add(self.vb)
 
     def setup_toggles (self):
@@ -384,15 +384,15 @@ class UI (gconf_wrapper.GConfWrapper):
         if n_new_puzzles < self.gconf['minimum_number_of_new_puzzles']:
             self.worker = threading.Thread(target=lambda *args: self.sudoku_maker.work(limit=5))
             self.worker_connections = [
-                self.timer.connect('timing-started',self.sudoku_maker.resume),
-                self.timer.connect('timing-stopped',self.sudoku_maker.pause)
+                self.timer.connect('timing-started', self.sudoku_maker.resume),
+                self.timer.connect('timing-stopped', self.sudoku_maker.pause)
                 ]
             self.worker.start()
         return True
 
     @simple_debug
     def stop_worker_thread (self, *args):
-        if hasattr(self,'worker'):
+        if hasattr(self, 'worker'):
             self.sudoku_maker.stop()
             for c in self.worker_connections:
                 self.timer.disconnect(c)
@@ -403,7 +403,7 @@ class UI (gconf_wrapper.GConfWrapper):
             delattr(self, 'dancer')
 
     @simple_debug
-    def you_win_callback (self,grid):
+    def you_win_callback (self, grid):
         if hasattr(self, 'dancer'):
             return
         self.won = True
@@ -415,7 +415,7 @@ class UI (gconf_wrapper.GConfWrapper):
         'activeTime': self.timer.active_time_string()
                 }
         sublabel += "\n"
-        sublabel += ngettext("You got %(n)s hint","You got %(n)s hints",self.gsd.hints)%{'n':self.gsd.hints}
+        sublabel += ngettext("You got %(n)s hint", "You got %(n)s hints", self.gsd.hints)%{'n':self.gsd.hints}
         sublabel += "\n"
         if self.gsd.impossible_hints:
             sublabel += ngettext("You had %(n)s impossibility pointed out.",
@@ -429,13 +429,13 @@ class UI (gconf_wrapper.GConfWrapper):
         import dancer
         self.dancer = dancer.GridDancer(self.gsd)
         self.dancer.start_dancing()
-        dialog_extras.show_message(_("You win!"),label=_("You win!"),
+        dialog_extras.show_message(_("You win!"), label=_("You win!"),
                                    sublabel=sublabel
                                    )
 
     @simple_debug
     def initialize_prefs (self):
-        for k,v in self.initial_prefs.items():
+        for k, v in self.initial_prefs.items():
             try:
                 self.gconf[k]
             except:
@@ -444,7 +444,7 @@ class UI (gconf_wrapper.GConfWrapper):
 
     @simple_debug
     @inactivate_new_game_etc
-    def new_cb (self,*args):
+    def new_cb (self, *args):
         if (self.gsd.grid and self.gsd.grid.is_changed() and not self.won):
             try:
                 if dialog_extras.getBoolean(
@@ -502,7 +502,7 @@ class UI (gconf_wrapper.GConfWrapper):
                 d = self.swallower.running
                 d.response(gtk.RESPONSE_DELETE_EVENT)
             gtk.main_quit() # Quit the embedded mainloop
-            gobject.idle_add(self.quit_cb,100) # Call ourselves again
+            gobject.idle_add(self.quit_cb, 100) # Call ourselves again
                                                # to quit the main
                                                # mainloop
             return
@@ -527,7 +527,7 @@ class UI (gconf_wrapper.GConfWrapper):
         self.sudoku_tracker.save_game(self)
 
     def full_screen_cb (self, *args):
-        if not hasattr(self,'is_fullscreen'):
+        if not hasattr(self, 'is_fullscreen'):
             self.is_fullscreen = False
         if self.is_fullscreen:
             self.w.unfullscreen()
@@ -537,7 +537,7 @@ class UI (gconf_wrapper.GConfWrapper):
             self.is_fullscreen = True
 
     @simple_debug
-    def clear_cb (self,*args):
+    def clear_cb (self, *args):
         clearer=Undo.UndoableObject(
             self.do_clear, #action
             self.undo_clear, #inverse
@@ -562,7 +562,7 @@ class UI (gconf_wrapper.GConfWrapper):
             lambda *args: self.cleared_notes.append(self.gsd.clear_notes()), #action
             # clear_notes returns a list of tuples indicating the cleared notes...
             # (x,y,(top,bottom)) -- this is what we need for undoing
-            lambda *args: [self.gsd.__entries__[t[0],t[1]].set_notes(t[2]) for t in self.cleared_notes.pop()], #inverse
+            lambda *args: [self.gsd.__entries__[t[0], t[1]].set_notes(t[2]) for t in self.cleared_notes.pop()], #inverse
             self.history
             )
         clearer.perform()
@@ -589,9 +589,9 @@ class UI (gconf_wrapper.GConfWrapper):
 
     @simple_debug
     def auto_fill_cb (self, *args):
-        if not hasattr(self,'autofilled'):
+        if not hasattr(self, 'autofilled'):
             self.autofilled=[]
-        if not hasattr(self,'autofiller'):
+        if not hasattr(self, 'autofiller'):
             self.autofiller = Undo.UndoableObject(
                 self.do_auto_fill,
                 self.undo_auto_fill,
@@ -606,7 +606,7 @@ class UI (gconf_wrapper.GConfWrapper):
 
     def undo_auto_fill (self, *args):
         for entry in self.autofilled.pop():
-            self.gsd.remove(entry[0],entry[1],do_removal=True)
+            self.gsd.remove(entry[0], entry[1], do_removal=True)
         if self.gconf['always_show_hints']:
             self.gsd.update_all_hints()
 
@@ -637,7 +637,7 @@ class UI (gconf_wrapper.GConfWrapper):
             self.tb.hide()
 
     def set_statusbar_value (self, status):
-        if not hasattr(self,'sbid'):
+        if not hasattr(self, 'sbid'):
             self.sbid = self.statusbar.get_context_id('game_info')
         self.statusbar.pop(self.sbid)
         self.statusbar.push(self.sbid, status)
@@ -742,7 +742,7 @@ class UI (gconf_wrapper.GConfWrapper):
 
     @simple_debug
     def generate_puzzle_gui (self, *args):
-        sudoku_generator_gui.GameGenerator(self,self.gconf)
+        sudoku_generator_gui.GameGenerator(self, self.gconf)
 
 class TrackerBox (gtk.VBox):
 
@@ -751,11 +751,11 @@ class TrackerBox (gtk.VBox):
 
         gtk.VBox.__init__(self)
         self.builder = gtk.Builder()
-        self.builder.add_from_file(os.path.join(UI_DIR,'tracker.ui'))
+        self.builder.add_from_file(os.path.join(UI_DIR, 'tracker.ui'))
         self.main_ui = main_ui
         self.vb = self.builder.get_object('vbox1')
         self.vb.unparent()
-        self.pack_start(self.vb,expand=True,fill=True)
+        self.pack_start(self.vb, expand=True, fill=True)
         self.setup_actions()
         self.setup_tree()
         self.show_all()
@@ -770,15 +770,15 @@ class TrackerBox (gtk.VBox):
     @simple_debug
     def setup_tree (self):
         self.tracker_tree = self.builder.get_object('treeview1')
-        self.tracker_model = gtk.ListStore(int,gtk.gdk.Pixbuf,str)
+        self.tracker_model = gtk.ListStore(int, gtk.gdk.Pixbuf, str)
         self.tracker_tree.set_model(self.tracker_model)
-        col1 = gtk.TreeViewColumn("",gtk.CellRendererPixbuf(),pixbuf=1)
-        col2 = gtk.TreeViewColumn("",gtk.CellRendererText(),text=2)
+        col1 = gtk.TreeViewColumn("", gtk.CellRendererPixbuf(), pixbuf=1)
+        col2 = gtk.TreeViewColumn("", gtk.CellRendererText(), text=2)
         self.tracker_tree.append_column(col2)
         self.tracker_tree.append_column(col1)
         # Our initial row...
-        self.tracker_model.append([-1,None,_('No Tracker')])
-        self.tracker_tree.get_selection().connect('changed',self.selection_changed_cb)
+        self.tracker_model.append([-1, None, _('No Tracker')])
+        self.tracker_tree.get_selection().connect('changed', self.selection_changed_cb)
 
     @simple_debug
     def setup_actions (self):
@@ -787,18 +787,18 @@ class TrackerBox (gtk.VBox):
             [('Clear',
               gtk.STOCK_CLEAR,
               _('_Clear Tracker'),
-              None,_('Clear all moves tracked by selected tracker.'),
+              None, _('Clear all moves tracked by selected tracker.'),
               self.clear_cb
               ),
-             ('Keep',None,
+             ('Keep', None,
               _('_Clear Others'),
               None,
               _('Clear all moves not tracked by selected tracker.'),
               self.keep_cb),
              ]
             )
-        for action,widget_name in [('Clear','ClearTrackerButton'),
-                                   ('Keep','KeepTrackerButton'),
+        for action, widget_name in [('Clear', 'ClearTrackerButton'),
+                                   ('Keep', 'KeepTrackerButton'),
                                    ]:
             a=self.tracker_actions.get_action(action)
             a.connect_proxy(self.builder.get_object(widget_name))
@@ -808,7 +808,7 @@ class TrackerBox (gtk.VBox):
         self.tracker_actions.set_sensitive(False)
 
     @simple_debug
-    def add_tracker (self,*args):
+    def add_tracker (self, *args):
         tracker_id = self.main_ui.gsd.create_tracker()
         pixbuf = self.pixbuf_transform_color(
             STOCK_PIXBUFS['tracks'],
@@ -845,9 +845,9 @@ class TrackerBox (gtk.VBox):
 
     @simple_debug
     def selection_changed_cb (self, selection):
-        mod,itr = selection.get_selected()
+        mod, itr = selection.get_selected()
         if itr:
-            selected_tracker_id = mod.get_value(itr,0)
+            selected_tracker_id = mod.get_value(itr, 0)
         else:
             selected_tracker_id=-1
         # This should be cheap since we don't expect many trackers...
@@ -856,22 +856,22 @@ class TrackerBox (gtk.VBox):
         for row in self.tracker_model:
             tid = row[0]
             if tid != -1: # -1 == no tracker
-                self.main_ui.gsd.toggle_tracker(tid,tid==selected_tracker_id)
+                self.main_ui.gsd.toggle_tracker(tid, tid==selected_tracker_id)
         self.tracker_actions.set_sensitive(selected_tracker_id != -1)
 
     @simple_debug
     def clear_cb (self, action):
-        mod,itr=self.tracker_tree.get_selection().get_selected()
+        mod, itr=self.tracker_tree.get_selection().get_selected()
         # This should only be called if there is an itr, but we'll
         # double-check just in case.
         if itr:
-            selected_tracker_id=mod.get_value(itr,0)
+            selected_tracker_id=mod.get_value(itr, 0)
             self.tracker_delete_tracks(selected_tracker_id)
 
     @simple_debug
     def keep_cb (self, action):
-        mod,itr=self.tracker_tree.get_selection().get_selected()
-        selected_tracker_id=mod.get_value(itr,0)
+        mod, itr=self.tracker_tree.get_selection().get_selected()
+        selected_tracker_id=mod.get_value(itr, 0)
         self.tracker_keep_tracks(selected_tracker_id)
 
     @simple_debug
@@ -915,10 +915,10 @@ def start_game ():
 def profile_me ():
     print 'Profiling GNOME Sudoku'
     import tempfile, hotshot, hotshot.stats
-    pname = os.path.join(tempfile.gettempdir(),'GNOME_SUDOKU_HOTSHOT_PROFILE')
+    pname = os.path.join(tempfile.gettempdir(), 'GNOME_SUDOKU_HOTSHOT_PROFILE')
     prof = hotshot.Profile(pname)
     prof.runcall(start_game)
     stats = hotshot.stats.load(pname)
     stats.strip_dirs()
-    stats.sort_stats('time','calls').print_stats()
+    stats.sort_stats('time', 'calls').print_stats()
 
