on xenial help sign in
More universal_newlines
commit37ae5d822b6dd4bced2da507cf14b058734ae058 authorDimitri John Ledkov <dimitri.ledkov@canonical.com> dateSun 23 Feb 2014, 01:46 (13 years ago) parentd442554
2 files changed+2−2
tests/autopilot/unity8/__init__.py+1−1 tests/autopilot/unity8/process_helpers.py+1−1
tests/autopilot/unity8/__init__.py+1−1
@@ -131,7 +131,7 @@ def _get_xdg_upstart_env():
131131 "get-env",
132132 "--global",
133133 "XDG_DATA_DIRS"
134− ]).rstrip()
134+ ], universal_newlines=True).rstrip()
135135 except subprocess.CalledProcessError:
136136 return None
137137
tests/autopilot/unity8/process_helpers.py+1−1
@@ -142,7 +142,7 @@ def _get_unity_status():
142142 '/sbin/initctl',
143143 'status',
144144 'unity8'
145− ])
145+ ], universal_newlines=True)
146146 except subprocess.CalledProcessError as e:
147147 raise CannotAccessUnity("Unable to get unity's status: %s" % str(e))
148148