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/log.py | |
| parent | 90a1f58796822e7fa392634e2daf767975554d40 (diff) | |
| parent | 1a814ba56a696ce796ab7707eacc2ee065c448e8 (diff) | |
trunk merged
Diffstat (limited to 'nova/log.py')
| -rw-r--r-- | nova/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/log.py b/nova/log.py index d194ab8f0..ea94be194 100644 --- a/nova/log.py +++ b/nova/log.py @@ -106,7 +106,7 @@ logging.addLevelName(AUDIT, 'AUDIT') def _dictify_context(context): - if context == None: + if context is None: return None if not isinstance(context, dict) \ and getattr(context, 'to_dict', None): |
