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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user