mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-31 09:55:55 +00:00
Little spelling fix (#695)
* Fixed spelling of "occurred" * Fix spelling of occurred. * fixed one lingering misspelling
This commit is contained in:
parent
289f60da44
commit
c78ec6b3bd
2 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ from vdirsyncer import exceptions
|
|||
|
||||
|
||||
def test_user_error_problems():
|
||||
e = exceptions.UserError('A few problems occured', problems=[
|
||||
e = exceptions.UserError('A few problems occurred', problems=[
|
||||
'Problem one',
|
||||
'Problem two',
|
||||
'Problem three'
|
||||
|
|
@ -11,4 +11,4 @@ def test_user_error_problems():
|
|||
assert 'one' in str(e)
|
||||
assert 'two' in str(e)
|
||||
assert 'three' in str(e)
|
||||
assert 'problems occured' in str(e)
|
||||
assert 'problems occurred' in str(e)
|
||||
|
|
|
|||
|
|
@ -144,9 +144,9 @@ def handle_cli_error(status_name=None, e=None):
|
|||
import traceback
|
||||
tb = traceback.format_tb(tb)
|
||||
if status_name:
|
||||
msg = 'Unknown error occured for {}'.format(status_name)
|
||||
msg = 'Unknown error occurred for {}'.format(status_name)
|
||||
else:
|
||||
msg = 'Unknown error occured'
|
||||
msg = 'Unknown error occurred'
|
||||
|
||||
msg += ': {}\nUse `-vdebug` to see the full traceback.'.format(e)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue