Add leading space to where string
authorW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 20:43:39 +0000 (16:43 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 20:43:39 +0000 (16:43 -0400)
sitecore/prof/export_mysql.py

index 1514c9eca30fb0a8cfda71bb85575b13b4489f7c..5b873d6eca51b4d5033bce5e25d7c647bb0f4c38 100644 (file)
@@ -111,7 +111,7 @@ class SimpleDB (object):
             where_args = []
             for key,value in dict.items():
                 where_args.append("%s='%s'" % (key,value))
-            where = 'where %s' % ' and '.join(where_args)
+            where = ' where %s' % ' and '.join(where_args)
         return where