I pushed this under the 1-liner rule, it fixes a doctest failure.

rob
>From 76cbd48896bc8953fdd7abf4afd797ffb6cbfc92 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Mon, 24 Jan 2011 10:41:20 -0500
Subject: [PATCH] Fix exception doctest failure

---
 ipalib/errors.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipalib/errors.py b/ipalib/errors.py
index faa9e81..20cd52b 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -1353,10 +1353,10 @@ class BadSearchFilter(ExecutionError):
 
     For example:
 
-    >>> raise BadSearchFilter(info='')
+    >>> raise BadSearchFilter(info='invalid syntax')
     Traceback (most recent call last):
       ...
-    BadSearchFilter: Bad search filter
+    BadSearchFilter: Bad search filter invalid syntax
     """
 
     errno = 4209
-- 
1.7.3.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to