Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: slave_utils.py

Issue 11189123: rpartiton->rpartition in slave_utils.GSUtilCopyDir (Closed) Base URL: https://src.chromium.org/chrome/trunk/tools/build/scripts/slave/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave_utils.py
===================================================================
--- slave_utils.py (revision 163311)
+++ slave_utils.py (working copy)
@@ -419,7 +419,7 @@
path = os.path.join(dest_dir, path)
# Trim the filename and last slash off to create a destination path.
- path = path.rpartiton(os.sep + os.path.basename(path))[0]
+ path = path.rpartition(os.sep + os.path.basename(path))[0]
# If we're on windows, we need to reverse slashes, gsutil wants posix paths.
if chromium_utils.IsWindows():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698