From 9a82bb2cd82966c58bba75485a166b8b2e8f3c59 Mon Sep 17 00:00:00 2001 From: lxnay Date: Sun, 22 Feb 2009 18:37:26 +0000 Subject: [PATCH] Entropy/DistributionUGCInterface: - get_entropy_release_strings_id: fix another typo git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3057 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy.py b/libraries/entropy.py index 8841d9827..cb84f6068 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -18702,7 +18702,7 @@ class DistributionUGCInterface(RemoteDbSkelInterface): def get_entropy_release_strings_id(self, release_string): self.check_connection() - self.execute_query('SELECT `entropy_release_strings_id` FROM entropy_release_strings WHERE `entropy_release_strings_id` = %s', (release_string,)) + self.execute_query('SELECT `entropy_release_strings_id` FROM entropy_release_strings WHERE `release_string` = %s', (release_string,)) data = self.fetchone() if data: return data['entropy_release_strings_id'] return -1