kopia lustrzana https://github.com/ctjacobs/pyqso
flake8
rodzic
dff0b134f3
commit
53772daf50
|
@ -120,8 +120,8 @@ class GreyLine:
|
||||||
|
|
||||||
def pinpoint(self, r):
|
def pinpoint(self, r):
|
||||||
""" Pinpoint the location of a QSO on the grey line map based on the COUNTRY field.
|
""" Pinpoint the location of a QSO on the grey line map based on the COUNTRY field.
|
||||||
|
|
||||||
:arg r: The QSO location to pinpoint.
|
:arg r: The QSO record containing the location to pinpoint.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if(have_geocoder):
|
if(have_geocoder):
|
||||||
|
|
|
@ -251,7 +251,7 @@ class Logbook:
|
||||||
""" Show a popup menu when the user right-clicks a record in the logbook. """
|
""" Show a popup menu when the user right-clicks a record in the logbook. """
|
||||||
|
|
||||||
if(event.button == 3):
|
if(event.button == 3):
|
||||||
self.application.popup.menu.popup(None, None, None, None, event.button, event.time)
|
self.application.popup.menu.popup(None, None, None, None, event.button, event.time)
|
||||||
self.application.popup.menu.show_all()
|
self.application.popup.menu.show_all()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -1131,7 +1131,7 @@ class Logbook:
|
||||||
|
|
||||||
def get_record_index(self):
|
def get_record_index(self):
|
||||||
""" Return the index of the currently selected record.
|
""" Return the index of the currently selected record.
|
||||||
|
|
||||||
:returns: The index of the currently selected record in the currently selected log. Returns None if the record or log cannot be found.
|
:returns: The index of the currently selected record in the currently selected log. Returns None if the record or log cannot be found.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
|
@ -1176,4 +1176,3 @@ class Logbook:
|
||||||
l.populate()
|
l.populate()
|
||||||
logs.append(l)
|
logs.append(l)
|
||||||
return logs
|
return logs
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue