diff options
| author | Rick van de Loo <rickvandeloo@gmail.com> | 2015-03-28 20:13:21 +1100 |
|---|---|---|
| committer | Rick van de Loo <rickvandeloo@gmail.com> | 2015-03-29 03:11:08 +1100 |
| commit | 5544d71bc897906253cf98771129f2997f4e19ae (patch) | |
| tree | a51ce47651cd1fe8359b57586382dc5e46d01215 /taskflow/examples/persistence_example.py | |
| parent | 179854e3eee11306cb888ef669cd3728b5e5bbb5 (diff) | |
| download | taskflow-5544d71bc897906253cf98771129f2997f4e19ae.tar.gz | |
Fix a couple of spelling and grammar errors
Some things that popped out while reading the
comments/documentation.
Change-Id: I0ccecae3381447ede44bb855d91f997349be1562
Diffstat (limited to 'taskflow/examples/persistence_example.py')
| -rw-r--r-- | taskflow/examples/persistence_example.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/taskflow/examples/persistence_example.py b/taskflow/examples/persistence_example.py index fe5968f..c911c2f 100644 --- a/taskflow/examples/persistence_example.py +++ b/taskflow/examples/persistence_example.py @@ -68,15 +68,15 @@ class ByeTask(task.Task): print("Bye!") -# This generates your flow structure (at this stage nothing is ran). +# This generates your flow structure (at this stage nothing is run). def make_flow(blowup=False): flow = lf.Flow("hello-world") flow.add(HiTask(), ByeTask(blowup)) return flow -# Persist the flow and task state here, if the file/dir exists already blowup -# if not don't blowup, this allows a user to see both the modes and to see +# Persist the flow and task state here, if the file/dir exists already blow up +# if not don't blow up, this allows a user to see both the modes and to see # what is stored in each case. if eu.SQLALCHEMY_AVAILABLE: persist_path = os.path.join(tempfile.gettempdir(), "persisting.db") @@ -91,8 +91,8 @@ else: blowup = True with eu.get_backend(backend_uri) as backend: - # Make a flow that will blowup if the file doesn't exist previously, if it - # did exist, assume we won't blowup (and therefore this shows the undo + # Make a flow that will blow up if the file didn't exist previously, if it + # did exist, assume we won't blow up (and therefore this shows the undo # and redo that a flow will go through). book = logbook.LogBook("my-test") flow = make_flow(blowup=blowup) |
