summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsatyanarayana@google.com <satyanarayana@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-16 07:38:24 +0000
committersatyanarayana@google.com <satyanarayana@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-16 07:38:24 +0000
commit3aa25172ba6517788e646973f5e538ff073f9812 (patch)
tree9f91a26d232c90d2204ce409d863c9699b3613f8 /build
parent58240a727a5709b1330c33a65d8ee24064481215 (diff)
downloadchromium_src-3aa25172ba6517788e646973f5e538ff073f9812.zip
chromium_src-3aa25172ba6517788e646973f5e538ff073f9812.tar.gz
chromium_src-3aa25172ba6517788e646973f5e538ff073f9812.tar.bz2
Bug Fix: Video file name not updated properly.
BUG= Review URL: https://codereview.chromium.org/396023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/screenshot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/android/pylib/screenshot.py b/build/android/pylib/screenshot.py
index 3908372..25d9b1a 100644
--- a/build/android/pylib/screenshot.py
+++ b/build/android/pylib/screenshot.py
@@ -84,7 +84,7 @@ class VideoRecorder(object):
"""
host_file_name = host_file or ('screen-recording-%s.mp4' %
self._device.old_interface.GetTimestamp())
- host_file = os.path.abspath(host_file_name)
- self._device.old_interface.EnsureHostDirectory(self._host_file)
+ host_file_name = os.path.abspath(host_file_name)
+ self._device.old_interface.EnsureHostDirectory(host_file_name)
self._device.PullFile(self._device_file, host_file_name)
self._device.RunShellCommand('rm -f "%s"' % self._device_file)