summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-11-27 17:16:27 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-11-27 17:16:27 -0500
commitcb02309cc41fbae69e3ff3efcb3e3feb763189ff (patch)
tree2d0efcd9120408d75c376e2b663bc3eb29a6e11e /cobbler/action_sync.py
parent035fa440a9b40b079d81a5cb1b46114cdabd0462 (diff)
downloadthird_party-cobbler-cb02309cc41fbae69e3ff3efcb3e3feb763189ff.tar.gz
third_party-cobbler-cb02309cc41fbae69e3ff3efcb3e3feb763189ff.tar.xz
third_party-cobbler-cb02309cc41fbae69e3ff3efcb3e3feb763189ff.zip
Changes to make "cobbler ___ report [___]" and "cobbler ___ list" work like they used to, which means adding a few subcommands, abstracting away the list logic, and writing some minor code to make the trailing names look like --name=x to please optparse.
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r--cobbler/action_sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 00a9d80..ad4143d 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -553,6 +553,7 @@ class BootSync:
self.apply_template(kfile, meta, dest)
kfile.close()
except:
+ traceback.print_exc()
raise CX(_("Error templating file %(src)s to %(dest)s") % { "src" : meta["kickstart"], "dest" : dest })
def load_snippet_cache(self):