Commit 7b0713f2 authored by Nikos Skalkotos's avatar Nikos Skalkotos

Fix a TypeError triggered on Ubuntu input media

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