diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-10 19:22:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-10 19:22:15 +0000 |
| commit | fdecf760d50c3497810c8f827fd74d9af518e762 (patch) | |
| tree | a8a116ada6cc63fd839f21ef87b697694a452bb4 /plugins | |
| parent | 35d183456869e3502289a45fe0d6c2c2616922c5 (diff) | |
| parent | 5fca1d9e97913af549adaef0827b189540fc87fa (diff) | |
Merge "fix new N402 errors"
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenserver/networking/etc/xensource/scripts/novalib.py | 4 | ||||
| -rwxr-xr-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xenserver/networking/etc/xensource/scripts/novalib.py b/plugins/xenserver/networking/etc/xensource/scripts/novalib.py index dcbee3ded..0f88e52bb 100644 --- a/plugins/xenserver/networking/etc/xensource/scripts/novalib.py +++ b/plugins/xenserver/networking/etc/xensource/scripts/novalib.py @@ -22,7 +22,7 @@ import subprocess def execute_get_output(*command): - """Execute and return stdout""" + """Execute and return stdout.""" devnull = open(os.devnull, 'w') command = map(str, command) proc = subprocess.Popen(command, close_fds=True, @@ -32,7 +32,7 @@ def execute_get_output(*command): def execute(*command): - """Execute without returning stdout""" + """Execute without returning stdout.""" devnull = open(os.devnull, 'w') command = map(str, command) proc = subprocess.Popen(command, close_fds=True, diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py index 5cfd32dbd..be873a7e8 100755 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py @@ -38,7 +38,7 @@ pluginlib.configure_logging("xenstore") class XenstoreError(pluginlib.PluginError): - """Errors that occur when calling xenstore-* through subprocesses""" + """Errors that occur when calling xenstore-* through subprocesses.""" def __init__(self, cmd, return_code, stderr, stdout): msg = "cmd: %s; returncode: %d; stderr: %s; stdout: %s" |
