summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLowell Alleman <lowell@kintyre.co>2021-03-23 11:11:21 -0400
committerLowell Alleman <lowell@kintyre.co>2021-03-23 13:59:07 -0400
commit48efd7a0f2ad85b355c068f755b5d84ebd724387 (patch)
treef0af9c835241db07af6db2c7664f6f935c47f445
parent56bce0d4d34569368899942d9eff7980d2df48d4 (diff)
downloadcroniter-48efd7a0f2ad85b355c068f755b5d84ebd724387.tar.gz
Fix spacing in bad_length expression
- Fix spacing so 'iteratorexpression' become 'iterator expression' - Fix spelling in exception class docstring
-rw-r--r--src/croniter/croniter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/croniter/croniter.py b/src/croniter/croniter.py
index af34f18..e5b8318 100644
--- a/src/croniter/croniter.py
+++ b/src/croniter/croniter.py
@@ -37,7 +37,7 @@ class CroniterBadDateError(CroniterError):
class CroniterNotAlphaError(CroniterBadCronError):
- """ Cron syntax contains an invalid day or month abreviation """
+ """ Cron syntax contains an invalid day or month abbreviation """
pass
@@ -86,7 +86,7 @@ class croniter(object):
60
)
- bad_length = 'Exactly 5 or 6 columns has to be specified for iterator' \
+ bad_length = 'Exactly 5 or 6 columns has to be specified for iterator ' \
'expression.'
def __init__(self, expr_format, start_time=None, ret_type=float,