Remove 'self' argument.

pull/61/head
Christian T. Jacobs 2017-04-14 22:22:52 +01:00
rodzic 7df20bd28b
commit 68dfa0f9d6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -18,7 +18,7 @@
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
def compare_date_and_time(self, model, row1, row2, user_data):
def compare_date_and_time(model, row1, row2, user_data):
""" Compare two rows (let's call them A and B) in a Gtk.ListStore, and sort by both date and time.
:arg Gtk.TreeModel model: The model used to sort the log data.
@ -46,7 +46,7 @@ def compare_date_and_time(self, model, row1, row2, user_data):
return -1
def compare_default(self, model, row1, row2, user_data):
def compare_default(model, row1, row2, user_data):
""" The default sorting function for all Gtk.ListStore objects.
:arg Gtk.TreeModel model: The model used to sort the log data.