From f0ceeddfda580cc3bb0786f7e895d28b907a5c2a Mon Sep 17 00:00:00 2001 From: gabriel pettier Date: Sun, 9 Aug 2015 02:58:31 +0200 Subject: [PATCH] make backends.TaskWarrior inherit from Backend fix missing `copy` import for Backend (fix test) --- tasklib/backends.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasklib/backends.py b/tasklib/backends.py index 825db82..6c19b48 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -6,6 +6,7 @@ import os import re import six import subprocess +import copy from .task import Task, TaskQuerySet from .filters import TaskWarriorFilter @@ -80,7 +81,7 @@ class TaskWarriorException(Exception): pass -class TaskWarrior(object): +class TaskWarrior(Backend): VERSION_2_1_0 = six.u('2.1.0') VERSION_2_2_0 = six.u('2.2.0') -- 2.39.5