Commit 98882d6f authored by Adam D. Barratt's avatar Adam D. Barratt

point-release-mail: import decorator rather than duplicating it

Signed-off-by: 's avatarAdam D. Barratt <>
parent e72ca5a8
......@@ -41,6 +41,7 @@ from textwrap import fill
from six import PY2
from six.moves.configparser import ConfigParser
from jinja2 import Environment
from jinja2.filters import environmentfilter
sys.path.append(os.path.dirname(__file__) + '/../lib/')
......@@ -105,10 +106,6 @@ def capfirst(s):
def nesteddictsort(thedict, bykey, reverse=False):
return sorted(thedict.items(), key=lambda x: x[1][bykey], reverse=reverse)
def environmentfilter(f):
f.environmentfilter = True
return f
def parawordwrap(environment, s, width=79, break_long_words=True, replace_whitespace=True,
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