on xenial help sign in
use value_string instead of format string.
commitd1263aa1efd85875942c7bac9e6dd55989a2eee6 authorYing-Chun Liu <paul.liu@canonical.com> dateThu 22 Jan 2015, 21:11 (12 years ago) parente9766b6
1 file changed+1−1
tests/autopilot/unity8/fixture_setup.py+1−1
tests/autopilot/unity8/fixture_setup.py+1−1
@@ -93,6 +93,6 @@ class DisplayRotationLock(fixtures.Fixture):
9393 command = [
9494 'gsettings', 'set',
9595 'com.ubuntu.touch.system',
96− 'rotation-lock', '{}'.format(value_string)
96+ 'rotation-lock', value_string
9797 ]
9898 subprocess.check_output(command)