fix commented out try catch in config_template_generator
This commit is contained in:
parent
b8111ba345
commit
c38ccd8054
1 changed files with 8 additions and 8 deletions
|
@ -30,14 +30,14 @@ class UTC(datetime.tzinfo):
|
||||||
|
|
||||||
# Generation Functions
|
# Generation Functions
|
||||||
def generate_and_write_all(config_data, template_dir, output_dir):
|
def generate_and_write_all(config_data, template_dir, output_dir):
|
||||||
# try:
|
try:
|
||||||
changelog_contents = generate_changelog(config_data, template_dir)
|
changelog_contents = generate_changelog(config_data, template_dir)
|
||||||
control_contents = generate_control(config_data, template_dir)
|
control_contents = generate_control(config_data, template_dir)
|
||||||
copyright_contents = generate_copyright(config_data, template_dir)
|
copyright_contents = generate_copyright(config_data, template_dir)
|
||||||
symlink_contents = generate_symlinks(config_data)
|
symlink_contents = generate_symlinks(config_data)
|
||||||
# except Exception as exc:
|
except Exception as exc:
|
||||||
# print exc
|
print exc
|
||||||
# help_and_exit("Error: Generation Failed, check your config file.")
|
help_and_exit("Error: Generation Failed, check your config file.")
|
||||||
|
|
||||||
write_file(changelog_contents, output_dir, FILE_CHANGELOG)
|
write_file(changelog_contents, output_dir, FILE_CHANGELOG)
|
||||||
write_file(control_contents, output_dir, FILE_CONTROL)
|
write_file(control_contents, output_dir, FILE_CONTROL)
|
||||||
|
|
Loading…
Reference in a new issue