summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-19 18:22:16 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-19 18:22:16 +0000
commit2e362ced2033411d203521137f24cab7387b4642 (patch)
tree72be62a22ff71f4f5e538510c4a3f2ea2d57e07b /src/lib/Server
parent4e5f29d5672205f19a8cd8b5a85413dc50428268 (diff)
downloadbcfg2-2e362ced2033411d203521137f24cab7387b4642.tar.gz
bcfg2-2e362ced2033411d203521137f24cab7387b4642.tar.bz2
bcfg2-2e362ced2033411d203521137f24cab7387b4642.zip
pylint error fixup
(Logical change 1.100) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@450 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Generators/fstab.py2
-rw-r--r--src/lib/Server/Generators/pkgmgr.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Generators/fstab.py b/src/lib/Server/Generators/fstab.py
index bb9568ce8..505b1253a 100644
--- a/src/lib/Server/Generators/fstab.py
+++ b/src/lib/Server/Generators/fstab.py
@@ -34,7 +34,7 @@ class fstab(Generator):
nodeclass = 'fs'
mayor = 'ccprez.mcs.anl.gov'
else:
- raise KeyError,client
+ raise KeyError, node
fsname = "fstab_%s"%(nodeclass)
fsdata = self.repo.entries[fsname].data
diff --git a/src/lib/Server/Generators/pkgmgr.py b/src/lib/Server/Generators/pkgmgr.py
index 4ee56c0ba..4d3b6066f 100644
--- a/src/lib/Server/Generators/pkgmgr.py
+++ b/src/lib/Server/Generators/pkgmgr.py
@@ -52,4 +52,4 @@ class pkgmgr(Generator):
else:
entry.attrib.update(p)
else:
- raise KeyError, ("Package", name)
+ raise KeyError, ("Package", pkgname)