summaryrefslogtreecommitdiff
path: root/nova/safe_utils.py
diff options
context:
space:
mode:
authorJoe Gordon <joe.gordon0@gmail.com>2014-06-17 22:34:28 -0700
committerDavanum Srinivas <dims@linux.vnet.ibm.com>2014-07-24 08:11:00 -0400
commit855fe98ef410b773f4a910e48628636c5d18c234 (patch)
treef907586a7d25cc6a4e84b4d478ada2f14526292c /nova/safe_utils.py
parent2b5a4923eeae7cfc062474af685e6e626d0345ba (diff)
downloadnova-855fe98ef410b773f4a910e48628636c5d18c234.tar.gz
Fix and Gate on E265
pep8 E265 makes sure block comment start with '# '. Fix and gate on this new rule as it helps improve comment readability. In the few cases where the comment was just commented out code, remove the comment. Change-Id: Iea1c445df8ddc2b6c17a4ab697ad756eef2f91fa
Diffstat (limited to 'nova/safe_utils.py')
-rw-r--r--nova/safe_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/safe_utils.py b/nova/safe_utils.py
index a6d2734733..ce9499bf80 100644
--- a/nova/safe_utils.py
+++ b/nova/safe_utils.py
@@ -30,7 +30,7 @@ def getcallargs(function, *args, **kwargs):
keyed_args.update(kwargs)
- #NOTE(alaski) the implicit 'self' or 'cls' argument shows up in
+ # NOTE(alaski) the implicit 'self' or 'cls' argument shows up in
# argnames but not in args or kwargs. Uses 'in' rather than '==' because
# some tests use 'self2'.
if 'self' in argnames[0] or 'cls' == argnames[0]: