[mirrorbrain-commits] [opensuse-svn] r6647 - trunk/tools/download-redirector-v2/mirrordoctor/mb

From: Novell Forge SVN <noreply_at_novell.com>
Date: Sun, 1 Mar 2009 17:45:36 -0700 (MST)
Author: poeml
Date: 2009-03-01 17:45:34 -0700 (Sun, 01 Mar 2009)
New Revision: 6647

Modified:
   trunk/tools/download-redirector-v2/mirrordoctor/mb/files.py
Log:
mb mirrorlist:
- quote the path name that is looked up when generating mirror lists


Modified: trunk/tools/download-redirector-v2/mirrordoctor/mb/files.py
===================================================================
--- trunk/tools/download-redirector-v2/mirrordoctor/mb/files.py	2009-03-02 00:44:09 UTC (rev 6646)
+++ trunk/tools/download-redirector-v2/mirrordoctor/mb/files.py	2009-03-02 00:45:34 UTC (rev 6647)
_at_@ -15,7 +15,7 @@
         pattern = False
         oprtr = '='
 
-    query = 'SELECT mirr_hasfile_byname(%s, %s)' \
+    query = "SELECT mirr_hasfile_byname(%s, '%s')" \
                   % (mirror_id, path)
     rows = conn.Server._connection.queryAll(query)
 

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
mirrorbrain-commits mailing list

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Mon Mar 02 2009 - 00:46:05 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT