]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge branch 'release/0.5.0'
authorRob Golding <rob@robgolding.com>
Mon, 10 Nov 2014 14:16:05 +0000 (14:16 +0000)
committerRob Golding <rob@robgolding.com>
Mon, 10 Nov 2014 14:16:05 +0000 (14:16 +0000)
.travis.yml
README.rst
docs/index.rst
setup.py
tasklib/task.py

index 5e2478967c9f6ccb046ec946b58064da30c055d1..7c1a6291234b96a760b8988e033cfcdf07211a63 100644 (file)
@@ -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"
index c8053ef90574233ed011e79060d01e428e54cdac..b0a3e3453971b7fdb147b26db04097dd28848232 100644 (file)
@@ -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
 ------------
index 037d75647db1d9c941bff8352ac228c59f4c3b32..0338bd191bfa8840003fc33c8c786fa825194be3 100644 (file)
@@ -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
 ------------
index d6838e8e851252357a6dba23a88082f80c55acef..f9b838dc315b8588d682b07ba04da9820ff63bdb 100644 (file)
--- 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',
index 65679dc05750d1c365f5f9e1ec5063b251e57e6f..491a3746b33d326e7b40c49a67ce472921dd47aa 100644 (file)
@@ -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):