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
This commit is contained in:
lxnay
2009-02-22 18:37:26 +00:00
parent 3b81ecbacb
commit 9a82bb2cd8
+1 -1
View File
@@ -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