WHERE deprecated = FALSE os_images
This commit is contained in:
parent
f448dd8bac
commit
5a4c67d202
@ -38,7 +38,7 @@ class DBModel:
|
|||||||
return list(map(lambda x: x[0], self.cursor.fetchall()))
|
return list(map(lambda x: x[0], self.cursor.fetchall()))
|
||||||
|
|
||||||
def operating_systems_dict(self,):
|
def operating_systems_dict(self,):
|
||||||
self.cursor.execute("SELECT id, template_image_file_name, description FROM os_images")
|
self.cursor.execute("SELECT id, template_image_file_name, description FROM os_images WHERE deprecated = FALSE")
|
||||||
|
|
||||||
operatingSystems = dict()
|
operatingSystems = dict()
|
||||||
for row in self.cursor.fetchall():
|
for row in self.cursor.fetchall():
|
||||||
|
Loading…
Reference in New Issue
Block a user