diff options
author | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 13:40:03 -0500 |
---|---|---|
committer | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 13:40:03 -0500 |
commit | 59fc5e25ef6503825ff059259309851d6d7d06d2 (patch) | |
tree | 8c9b2e9becfbf933a4279452366665a9b033617f | |
parent | 39fc7061fb9731b00276ace4c1131aa20c10de03 (diff) | |
download | cxmanage-59fc5e25ef6503825ff059259309851d6d7d06d2.tar.gz |
nojira: Fixed pylint warnings.
-rw-r--r-- | cxmanage_api/__init__.py | 3 | ||||
-rwxr-xr-x | cxmanage_api/docs/generate_api_rst.py | 2 | ||||
-rw-r--r-- | cxmanage_api/loggers.py | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/cxmanage_api/__init__.py b/cxmanage_api/__init__.py index 2228b38..6d66381 100644 --- a/cxmanage_api/__init__.py +++ b/cxmanage_api/__init__.py @@ -1,3 +1,6 @@ +"""Calxeda: __init__.py """ + + # Copyright (c) 2012, Calxeda Inc. # # All rights reserved. diff --git a/cxmanage_api/docs/generate_api_rst.py b/cxmanage_api/docs/generate_api_rst.py index 1e5a901..553d3c8 100755 --- a/cxmanage_api/docs/generate_api_rst.py +++ b/cxmanage_api/docs/generate_api_rst.py @@ -62,7 +62,7 @@ def get_source(source_dir): source = {API_NAME : {}} paths = glob.glob(os.path.join(source_dir, '*.py')) for path in paths: - f_path, f_ext = os.path.splitext(path) + f_path, _ = os.path.splitext(path) f_name = f_path.split(source_dir)[1] if (not f_name in BLACKLIST): if TITLES.has_key(f_name): diff --git a/cxmanage_api/loggers.py b/cxmanage_api/loggers.py index da7c202..9657ef9 100644 --- a/cxmanage_api/loggers.py +++ b/cxmanage_api/loggers.py @@ -117,6 +117,7 @@ class Logger(object): return '\n'.join(result) + # pylint: disable=R0201 def write(self, message): """Writes a log message. |