From 285e127de45f0feed7170bafc79b502170d5b381 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 9 Jul 2012 14:01:36 -0400 Subject: fix 'make pylint' warnings On my system (quantal) this 'make pylint' does not complain now. --- cloudinit/util.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cloudinit/util.py') diff --git a/cloudinit/util.py b/cloudinit/util.py index d0d7a303..44ce9770 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -19,6 +19,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# +# pylint: disable=C0302 from StringIO import StringIO @@ -936,8 +938,8 @@ def chownbyname(fname, user=None, group=None): if group: gid = grp.getgrnam(group).gr_gid except KeyError: - logexc(LOG, ("Failed changing the ownership of %s using username %s and" - " groupname %s (do they exist?)"), fname, user, group) + logexc(LOG, ("Failed changing the ownership of %s using username %s " + "and groupname %s (do they exist?)"), fname, user, group) return False chownbyid(fname, uid, gid) return True -- cgit v1.2.3