summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-10-16 11:52:51 -0400
committerJim Meyering <jim@meyering.net>2006-10-16 11:52:51 -0400
commitfbd4653d0c324c1cc39ed88183c79fb11a3f56fa (patch)
tree44f1fa186c00229e0a0e8fdfaca684bdd73f3bf3 /cobbler/action_sync.py
parent61363138299e95e19bf66ade33b470d10e13846e (diff)
downloadthird_party-cobbler-fbd4653d0c324c1cc39ed88183c79fb11a3f56fa.tar.gz
third_party-cobbler-fbd4653d0c324c1cc39ed88183c79fb11a3f56fa.tar.xz
third_party-cobbler-fbd4653d0c324c1cc39ed88183c79fb11a3f56fa.zip
More pychecker.
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r--cobbler/action_sync.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 45576cb..43f6f15 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -280,8 +280,8 @@ class BootSync:
self.apply_template(kickstart_path, meta, dest)
except:
traceback.print_exc() # leave this in, for now...
- msg = "err_kickstart2" % (kickstart_path,dest)
- raise cexceptions.CobblerException(msg)
+ msg = "err_kickstart2"
+ raise cexceptions.CobblerException(msg,kickstart_path,dest)
def validate_kickstarts_per_system(self):
"""
@@ -313,8 +313,8 @@ class BootSync:
))
self.apply_template(kickstart_path, meta, dest)
except:
- msg = "err_kickstart2" % (s.kickstart, dest)
- raise cexpcetions.CobblerException(msg)
+ msg = "err_kickstart2"
+ raise cexceptions.CobblerException(msg,s.kickstart,dest)
def apply_template(self, kickstart_input, metadata, out_path):
"""