From: gabriel pettier Date: Sun, 9 Aug 2015 00:58:31 +0000 (+0200) Subject: make backends.TaskWarrior inherit from Backend X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/f0ceeddfda580cc3bb0786f7e895d28b907a5c2a?ds=inline make backends.TaskWarrior inherit from Backend fix missing `copy` import for Backend (fix test) --- 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')