pynag/pynag — pull request #61 by pall-valmundsson (2013-05-16 00:10:24+00:00)
Title: fix negative filter bug in pynag.Model.Service.objects.filter

Test case was failing. This fixes it. Not sure if it's the intended behavior.

When Utils.grep() is called with __notcontains on an element that doesn't exist in the object it matches it and returns it in the result set. This patch makes Model.Service.objects.filter() do the same.

At least other test cases did not blow up :)