diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:32:00 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:32:00 +0100 |
commit | 72d22407c0a0bc36aa887b8fca27b24cf748ff83 (patch) | |
tree | 0f61e8a350977121b08634a698315b6b36a53217 | |
parent | 589a125b13918e1379d56ecc9ab8b8f6eb158729 (diff) | |
download | sos-72d22407c0a0bc36aa887b8fca27b24cf748ff83.tar.gz |
[plugin] remove superfluous parens in Plugin._do_copy_path()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index e7209020..9d428c6c 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -331,7 +331,7 @@ class Plugin(object): self._log_debug("copying path '%s' to archive:'%s'" % (srcpath, dest)) # if not readable(srcpath) - if not (st.st_mode & 0o444): + if not st.st_mode & 0o444: # FIXME: reflect permissions in archive self.archive.add_string("", dest) else: |