Commit 05aeb719 authored by Ad Schellevis's avatar Ad Schellevis

Revert "(configd, templates) copy parents permissions"

This reverts commit f85e688c.
parent f85e688c
...@@ -36,7 +36,6 @@ import traceback ...@@ -36,7 +36,6 @@ import traceback
import copy import copy
import codecs import codecs
import jinja2 import jinja2
import shutil
import addons.template_helpers import addons.template_helpers
__author__ = 'Ad Schellevis' __author__ = 'Ad Schellevis'
...@@ -281,8 +280,6 @@ class Template(object): ...@@ -281,8 +280,6 @@ class Template(object):
if last_bytes_template in ('\n', '\r'): if last_bytes_template in ('\n', '\r'):
f_out.write('\n') f_out.write('\n')
f_out.close() f_out.close()
# copy parents file permissions
shutil.copymode(os.path.dirname(filename), filename)
result.append(filename) result.append(filename)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment