diff options
| author | Jason Koelker <jason@koelker.net> | 2011-04-18 15:53:09 -0500 |
|---|---|---|
| committer | Jason Koelker <jason@koelker.net> | 2011-04-18 15:53:09 -0500 |
| commit | f59f792c83c7f18e48903165df8d3dd78f45dd4c (patch) | |
| tree | cc0ad5359ad5a398883d25c46ba9290b44cf7c61 /nova/compute | |
| parent | b33c81f05ddd5d3ac4e83b796b9675d4f6e56e7d (diff) | |
use 'is not None' instead of '!= None'
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/monitor.py b/nova/compute/monitor.py index 04e08a235..0b1a4c13f 100644 --- a/nova/compute/monitor.py +++ b/nova/compute/monitor.py @@ -260,7 +260,7 @@ class Instance(object): try: data = self.fetch_cpu_stats() - if data != None: + if data is not None: LOG.debug('CPU: %s', data) update_rrd(self, 'cpu', data) |
