backend/satellite_tools/updatePackages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 191134654881229e2b54d94ab681ed194385c485
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Jul 27 09:24:16 2012 +0200
Fixing placeholder syntax.
Addressing
File
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
line 295, in _execute_
self._real_cursor.execute(self.sql, params)
spacewalk.server.rhnSQL.sql_base.SQLStatementPrepareError: ('syntax error at or
near ":" at character 41\n', 0, '\n update rhnPackage\n set path =:
new_path\n where id = %(the_id)s\n')
diff --git a/backend/satellite_tools/updatePackages.py
b/backend/satellite_tools/updatePackages.py
index 0c0ebee..ef10f05 100644
--- a/backend/satellite_tools/updatePackages.py
+++ b/backend/satellite_tools/updatePackages.py
@@ -123,7 +123,7 @@ _get_path_query = """
_update_pkg_path_query = """
update rhnPackage
- set path =: new_path
+ set path = :new_path
where id = :the_id
"""
Show replies by date