diff options
author | W. Trevor King <wking@tremily.us> | 2012-11-11 11:30:20 -0500 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2012-11-11 16:19:50 -0500 |
commit | 4e7b58e413c46f5bbb45837a0b2351c847f17afc (patch) | |
tree | 602d10d339e45f4dd8eaf10a349037b8b4a91ac7 /pym/gentoolkit/helpers.py | |
parent | helpers: wrap long lines to avoid pylint C0301 (diff) | |
download | gentoolkit-4e7b58e413c46f5bbb45837a0b2351c847f17afc.tar.gz gentoolkit-4e7b58e413c46f5bbb45837a0b2351c847f17afc.tar.bz2 gentoolkit-4e7b58e413c46f5bbb45837a0b2351c847f17afc.zip |
helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p")
Diffstat (limited to 'pym/gentoolkit/helpers.py')
-rw-r--r-- | pym/gentoolkit/helpers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index a87b9f2..5d45288 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -312,11 +312,11 @@ class FileOwner(object): osp = os.path expanded_paths = [] - for p in paths: - if p.startswith('./'): - expanded_paths.append(osp.abspath(p)) + for path in paths: + if path.startswith('./'): + expanded_paths.append(osp.abspath(path)) else: - expanded_paths.append(p) + expanded_paths.append(path) return expanded_paths |