From 4acad289a9f15b39f7cd3d1203a9fcb7d387ec27 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 22 Jul 2015 08:54:49 -0700 Subject: [PATCH] Fix lack of space between functions Somehow this passed through the gate and now it is causing related failures, so fix it so that those other failures will not happen. Change-Id: Idb046b0e4e23af49c947a80cf6f77fef3a9ec0c8 --- taskflow/persistence/models.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/taskflow/persistence/models.py b/taskflow/persistence/models.py index 4a0bf733..12098614 100644 --- a/taskflow/persistence/models.py +++ b/taskflow/persistence/models.py @@ -72,6 +72,15 @@ def _format_shared(obj, indent): return lines +def _is_all_none(arg, *args): + if arg is not None: + return False + for more_arg in args: + if more_arg is not None: + return False + return True + + def _copy_function(deep_copy): if deep_copy: return copy.deepcopy