diff options
| author | Ilya Alekseyev <ialekseev@griddynamics.com> | 2011-04-20 18:20:27 +0400 |
|---|---|---|
| committer | Ilya Alekseyev <ialekseev@griddynamics.com> | 2011-04-20 18:20:27 +0400 |
| commit | f618d1675e49b4cc492a52812e8bb2811ef2fb56 (patch) | |
| tree | 1c19833e59304f525427dae2929b2d9f3aa8a977 /nova/utils.py | |
| parent | 90a1f58796822e7fa392634e2daf767975554d40 (diff) | |
| parent | 1a814ba56a696ce796ab7707eacc2ee065c448e8 (diff) | |
trunk merged
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index 3f6f9fc8a..76cba1a08 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -157,7 +157,7 @@ def execute(*cmd, **kwargs): stderr=subprocess.PIPE, env=env) result = None - if process_input != None: + if process_input is not None: result = obj.communicate(process_input) else: result = obj.communicate() |
