Commit 4d571c94 authored by anonym's avatar anonym
Browse files

Simplify.

parent 4075f240
...@@ -76,8 +76,7 @@ def tails_installer_is_device_selected?(name) ...@@ -76,8 +76,7 @@ def tails_installer_is_device_selected?(name)
end end
def tails_installer_match_status(pattern) def tails_installer_match_status(pattern)
text = @installer.child('', roleName: 'text').text @installer.child('', roleName: 'text').text[pattern]
text[pattern]
end end
class UpgradeNotSupported < StandardError class UpgradeNotSupported < StandardError
......
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