diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-04-01 19:48:52 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-04-01 19:48:52 +0000 |
| commit | 3af076d72520b528775d3d43e6bc2b5344ddbab5 (patch) | |
| tree | 92ee09b9e5b33c05440f3db65f1df3c8e388bdca /taskflow/examples/persistence_example.py | |
| parent | 3d7568d7b9c76aacd59320a00db0faca5c1827e2 (diff) | |
| parent | 5544d71bc897906253cf98771129f2997f4e19ae (diff) | |
| download | taskflow-0.8.1.tar.gz | |
Merge "Fix a couple of spelling and grammar errors"0.8.1
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) |
