From: Rob Golding Date: Mon, 10 Nov 2014 14:16:05 +0000 (+0000) Subject: Merge branch 'release/0.5.0' X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/75dea64c1fbf2464c489abf4611ea6952ed60f2d?hp=aa0894c7a20df18a562cbd06a88ffd4d9719be64 Merge branch 'release/0.5.0' --- diff --git a/.travis.yml b/.travis.yml index 5e24789..7c1a629 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ env: - TASK_VERSION=v2.1.2 - TASK_VERSION=v2.2.0 - TASK_VERSION=v2.3.0 - - TASK_VERSION=2.4.0.beta2 - TASK_VERSION=2.4.0 python: - "2.6" diff --git a/README.rst b/README.rst index c8053ef..b0a3e34 100644 --- a/README.rst +++ b/README.rst @@ -7,13 +7,13 @@ tasklib tasklib is a Python library for interacting with taskwarrior_ databases, using a queryset API similar to that of Django's ORM. -Supports Python 2.6, 2.7, 3.2, 3.3 and 3.4 with taskwarrior 2.1.x and 2.2.x. +Supports Python 2.6, 2.7, 3.2, 3.3 and 3.4 with taskwarrior 2.1.x and above. Older versions of taskwarrior are untested and may not work. Requirements ------------ -* taskwarrior_ v2.1.x or v2.2.x +* taskwarrior_ v2.1.x or above. Installation ------------ diff --git a/docs/index.rst b/docs/index.rst index 037d756..0338bd1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -4,13 +4,13 @@ Welcome to tasklib's documentation! tasklib is a Python library for interacting with taskwarrior_ databases, using a queryset API similar to that of Django's ORM. -Supports Python 2.6, 2.7, 3.2, 3.3 and 3.4 with taskwarrior 2.1.x and 2.2.x. +Supports Python 2.6, 2.7, 3.2, 3.3 and 3.4 with taskwarrior 2.1.x and above. Older versions of taskwarrior are untested and may not work. Requirements ------------ -* taskwarrior_ v2.1.x or v2.2.x +* taskwarrior_ v2.1.x or above. Installation ------------ diff --git a/setup.py b/setup.py index d6838e8..f9b838d 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -version = '0.4.1' +version = '0.5.0' setup( name='tasklib', diff --git a/tasklib/task.py b/tasklib/task.py index 65679dc..491a374 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -159,6 +159,10 @@ class TaskFilter(object): def add_filter_param(self, key, value): key = key.replace('__', '.') + + # Replace the value with empty string, since that is the + # convention in TW for empty values + value = value if value is not None else '' self.filter_params.append('{0}:{1}'.format(key, value)) def get_filter_params(self):