summaryrefslogtreecommitdiff
path: root/attoconf/lib/make.py
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-17 11:49:24 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-07-17 11:50:04 -0700
commitd33fcf6cc7380633329fdaf2e7f7543bbdd2490e (patch)
treea93784103a38b10e72abedff927c6951288885d6 /attoconf/lib/make.py
parent9d681429a3c78520614be1f4852de8ffb1bfcd8a (diff)
downloadattobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.tar.gz
attobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.tar.bz2
attobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.tar.xz
attobuild-d33fcf6cc7380633329fdaf2e7f7543bbdd2490e.zip
Use a metaclass instead of @add_slots
Diffstat (limited to 'attoconf/lib/make.py')
-rw-r--r--attoconf/lib/make.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/attoconf/lib/make.py b/attoconf/lib/make.py
index b965f28..f815cd0 100644
--- a/attoconf/lib/make.py
+++ b/attoconf/lib/make.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 Make(ClassyProject):
''' Post hook to generate a Makefile from Makefile.in
'''
__slots__ = ()
- @classmethod
- def slots(cls):
- return super(Make, cls).slots() + ('make_in', 'make_out')
+ _merge_slots_ = ('make_in', 'make_out')
# compatibility with attoconf < 0.7
def __init__(self, srcdir,