summaryrefslogtreecommitdiff
path: root/attoconf/lib/templates.py
diff options
context:
space:
mode:
Diffstat (limited to 'attoconf/lib/templates.py')
-rw-r--r--attoconf/lib/templates.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/attoconf/lib/templates.py b/attoconf/lib/templates.py
index d6fc24d..0ec1a3e 100644
--- a/attoconf/lib/templates.py
+++ b/attoconf/lib/templates.py
@@ -1,4 +1,4 @@
-# Copyright 2013 Ben Longbons <b.r.longbons@gmail.com>
+# Copyright 2013-2014 Ben Longbons <b.r.longbons@gmail.com>
#
# This file is part of attoconf.
#
@@ -62,9 +62,7 @@ class Templates(ClassyProject):
''' Post hook to generate output files from *.in templates
'''
__slots__ = ()
- @classmethod
- def slots(cls):
- return super(Templates, cls).slots() + ('template_files',)
+ _merge_slots_ = ('template_files')
# this class didn't exist in attoconf < 0.7, no need for compatibility
def __init__(self, template_files, **kwargs):