From d31f24c585b3395a23a81936cc31f1c30d35ec3f Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 1 Jul 2013 15:03:02 +0200
Subject: [PATCH] Expose AutoQuery along with other query classes.

---
 product/ZSQLCatalog/SQLCatalog.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py
index 5232257811..b202dd7496 100644
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -2805,7 +2805,8 @@ class CatalogError(Exception): pass
 from Query.Query import Query as _Query
 from Query.SimpleQuery import SimpleQuery
 from Query.ComplexQuery import ComplexQuery
-from Query.AutoQuery import AutoQuery as Query
+from Query.AutoQuery import AutoQuery
+Query = AutoQuery
 
 def NegatedQuery(query):
   return ComplexQuery(query, logical_operator='not')
-- 
2.30.9