Author: <debacle@debian.org>
Description: ignore unknown columns

--- a/code_comments/comments.py	2013-03-24 20:55:34.145479940 +0100
+++ b/code_comments/comments.py	2013-03-24 20:57:21.741486233 +0100
@@ -78,6 +78,9 @@
         conditions = []
         values = []
         for name in args:
+            # ignore unknown columns
+            if not name in Comment.columns:
+                continue
             if not name.endswith('__in') and not name.endswith('__prefix'):
                 values.append(args[name])
             if name.endswith('__gt'):
