Skip to content

Commit c78ec6b

Browse files
amandabeeHugo Osvaldo Barrera
authored andcommitted
Little spelling fix (#695)
* Fixed spelling of "occurred" * Fix spelling of occurred. * fixed one lingering misspelling
1 parent 289f60d commit c78ec6b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/unit/test_exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def test_user_error_problems():
5-
e = exceptions.UserError('A few problems occured', problems=[
5+
e = exceptions.UserError('A few problems occurred', problems=[
66
'Problem one',
77
'Problem two',
88
'Problem three'
@@ -11,4 +11,4 @@ def test_user_error_problems():
1111
assert 'one' in str(e)
1212
assert 'two' in str(e)
1313
assert 'three' in str(e)
14-
assert 'problems occured' in str(e)
14+
assert 'problems occurred' in str(e)

vdirsyncer/cli/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ def handle_cli_error(status_name=None, e=None):
144144
import traceback
145145
tb = traceback.format_tb(tb)
146146
if status_name:
147-
msg = 'Unknown error occured for {}'.format(status_name)
147+
msg = 'Unknown error occurred for {}'.format(status_name)
148148
else:
149-
msg = 'Unknown error occured'
149+
msg = 'Unknown error occurred'
150150

151151
msg += ': {}\nUse `-vdebug` to see the full traceback.'.format(e)
152152

0 commit comments

Comments
 (0)