Skip to content
Snippets Groups Projects
Commit 7b0713f2 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix a TypeError triggered on Ubuntu input media

parent b298a5a7
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class Ubuntu(Linux): ...@@ -30,7 +30,7 @@ class Ubuntu(Linux):
super(Ubuntu, self)._do_collect_metadata() super(Ubuntu, self)._do_collect_metadata()
regexp = re.compile('^(k|l|x)?ubuntu-desktop$') regexp = re.compile('^(k|l|x)ubuntu-desktop$')
variant = "" variant = ""
for app in self.image.g.inspect_list_applications(self.root): for app in self.image.g.inspect_list_applications(self.root):
match = regexp.match(app['app_name']) match = regexp.match(app['app_name'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment