From daf76e747a0dbc9749e3d3007e26e7280fee7868 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Thu, 31 Dec 2015 11:20:06 -0500 Subject: Use new-style classes explicitly I forgot this is not the default in python 2 and certain things like the setter decorator do not work otherwise. --- dotfiles/dotfile.py | 2 +- dotfiles/repository.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/dotfile.py b/dotfiles/dotfile.py index b13882c..14a8d53 100644 --- a/dotfiles/dotfile.py +++ b/dotfiles/dotfile.py @@ -1,7 +1,7 @@ import errno -class Dotfile: +class Dotfile(object): """ This class implements the 'dotfile' abstraction. diff --git a/dotfiles/repository.py b/dotfiles/repository.py index 3f7bd00..2a461f2 100644 --- a/dotfiles/repository.py +++ b/dotfiles/repository.py @@ -3,7 +3,7 @@ from .dotfile import Dotfile from operator import attrgetter -class Repository: +class Repository(object): """ This class implements the 'repository' abstraction. -- cgit v1.2.3