diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-01-27 19:20:26 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-01-27 19:20:26 +0000 |
commit | be2bced9468fe04661f7dabf097f1b21c0a160d6 (patch) | |
tree | 65fa2e9e760734dca5a3ca5104d5f3f0c0a87c3d /src/lib/Client | |
parent | b01991d3c7f2223290a75db4e333e75765d34b13 (diff) | |
download | bcfg2-be2bced9468fe04661f7dabf097f1b21c0a160d6.tar.gz bcfg2-be2bced9468fe04661f7dabf097f1b21c0a160d6.tar.bz2 bcfg2-be2bced9468fe04661f7dabf097f1b21c0a160d6.zip |
fix pylint warning
(Logical change 1.195)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@829 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Debian.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py index bb22edeb1..1705be7d5 100644 --- a/src/lib/Client/Debian.py +++ b/src/lib/Client/Debian.py @@ -127,7 +127,7 @@ class Debian(Toolset): self.pkgwork['remove'] = all.keys() # now for packages allsrv = [] - [allsrv.append(x[14:]) for x in glob.glob("/etc/rc[12345].d/S*") if x[14:] not in allsrv] + [allsrv.append(fname[14:]) for fname in glob("/etc/rc[12345].d/S*") if fname[14:] not in allsrv] csrv = self.cfg.findall(".//Service") [allsrv.remove(svc.get('name')) for svc in csrv if svc.get('status') == 'on'] self.extra_services = allsrv |