Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
elbenfreund committed May 4, 2018
1 parent 4b2819b commit 90dbcc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hamster_gtk/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def decompose_raw_fact_string(text, raw=False):
def get_recent_activities(controller, start, end):
"""Return a list of all activities logged in facts within the given timeframe."""
# [FIXME]
# This manual sorting within python is of cause less than optimal. We stick
# This manual sorting within python is of course less than optimal. We stick
# with it for now as this is just a preliminary workaround helper anyway and
# effective sorting will need to be implemented by the storage backend in
# ``hamster-lib``.
Expand All @@ -204,9 +204,9 @@ def serialize_activity(activity, separator='@', none_category='not categorized')
Args:
activity (Activity): ``Activity`` instance to serialize.
separator (str, optional): ``string`` used to separate ``activity.name`` and
``category.name``. The separator will be omitted if ``none_categoty=''`` and
``category.name``. The separator will be omitted if ``none_category=''`` and
``activity.category=None``. Defaults to ``@``.
none_category (str, optional): ``string`` to represent the 'lack of a cactegory' for an
none_category (str, optional): ``string`` to represent the 'lack of a category' for an
activity instance. Defaults to ``not categorized``.
Returns:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hamster-gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TestHamsterGTK(object):

def test_instantiation(self, config):
"""
Make sure class instatiation works as intended.
Make sure class instantiation works as intended.
We actually test against a monkeypatched class in order to avoid the
config loading machinery as this would access the user data on fs.
Expand Down

0 comments on commit 90dbcc7

Please sign in to comment.