Minor docstring update

pull/2560/head
Åke Forslund 2020-03-16 18:28:39 +01:00
parent d494814ec0
commit cdb04b1f3c
1 changed files with 4 additions and 5 deletions

View File

@ -149,10 +149,9 @@ class SettingsMetaUploader:
return self._msm
def get_local_skills(self):
return {
skill.path: skill for skill in
self.msm.local_skills.values()
}
"""Generate a mapping of skill path to skill name for all local skills.
"""
return {skill.path: skill for skill in self.msm.local_skills.values()}
@property
def skill_gid(self):
@ -238,7 +237,7 @@ class SettingsMetaUploader:
self.upload_timer.start()
def stop(self):
""" Stop upload attempts if Timer is running."""
"""Stop upload attempts if Timer is running."""
if self.upload_timer:
self.upload_timer.cancel()
# Set stopped flag if upload is running when stop is called.