Removed an unused import
[gonvert] / src / gonvert_glade.py
index 2e862b3..def0e2d 100755 (executable)
@@ -4,7 +4,6 @@
 import os
 import pickle
 import string
-import sys
 import gettext
 import logging
 
@@ -410,8 +409,10 @@ class Gonvert(object):
                                if col is maybeCol:
                                        direction = getattr(self, directionName)
                                        gtkDirection = gtk.SORT_ASCENDING if direction else gtk.SORT_DESCENDING
+
                                        # cause a sort
                                        self._sortedUnitModel.set_sort_column_id(columnIndex, gtkDirection)
+
                                        # set the visual for sorting
                                        col.set_sort_indicator(True)
                                        col.set_sort_order(not direction)