use new-style classes
[matrix.git] / matrix / config.py
index 001594b..eb80f3e 100644 (file)
@@ -17,7 +17,7 @@ libc = 'glibc'
 verbose = False
 debug = False
 
-class Board:
+class Board(object):
        def __init__(self, name, arch, gcc_march, gcc_mcpu='', gcc_mfpu='', gcc_options='', gnu_host='', flash_erase_size='65536', flash_pad_size='0'):
                self.name = name
                self.arch = arch
@@ -31,7 +31,7 @@ class Board:
 
                boards[name] = self
 
-class Component:
+class Component(object):
        import git
 
        from_platform = False