diff options
-rw-r--r-- | org/spine.org | 9 | ||||
-rwxr-xr-x | src/doc_reform/spine.d | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/org/spine.org b/org/spine.org index 30a08f5..5267a3c 100644 --- a/org/spine.org +++ b/org/spine.org @@ -732,12 +732,13 @@ struct OptActions { } @trusted bool parallelise() { bool _is; - if (opts["parallel"] == true) { + if (opts["serial"] == true) { + _is = false; + } else if (sqlite_shared_db_action) { + _is = false; + } else if (opts["parallel"] == true) { _is = true; if (sqlite_shared_db_action) { _is = false; } - } else if (opts["parallel"] == false - && opts["serial"] == true) { - _is = false; } else if ( opts["abstraction"] || concordance diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d index 6e03f3d..cbd7b0e 100755 --- a/src/doc_reform/spine.d +++ b/src/doc_reform/spine.d @@ -456,12 +456,13 @@ string program_name = "spine"; } @trusted bool parallelise() { bool _is; - if (opts["parallel"] == true) { + if (opts["serial"] == true) { + _is = false; + } else if (sqlite_shared_db_action) { + _is = false; + } else if (opts["parallel"] == true) { _is = true; if (sqlite_shared_db_action) { _is = false; } - } else if (opts["parallel"] == false - && opts["serial"] == true) { - _is = false; } else if ( opts["abstraction"] || concordance |