summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)