diff options
| author | Ken Pepple <ken.pepple@gmail.com> | 2011-04-22 00:11:54 -0700 |
|---|---|---|
| committer | Ken Pepple <ken.pepple@gmail.com> | 2011-04-22 00:11:54 -0700 |
| commit | 1efd359644aecbd6262e334e184897b98ef6c9d3 (patch) | |
| tree | 7799ccc603aacafdc881a4bdaf86f5ce7579e68f /nova/utils.py | |
| parent | 63f5aa5484aa9d61f2ed79caae1c665230a56f35 (diff) | |
| parent | 1a814ba56a696ce796ab7707eacc2ee065c448e8 (diff) | |
merge trunk
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() |
