From: W. Trevor King Date: Sun, 11 Nov 2012 16:30:20 +0000 (-0500) Subject: helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p") X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e7b58e413c46f5bbb45837a0b2351c847f17afc;p=gentoolkit.git helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p") --- 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