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

Unified Diff: test/variables/commands/repeated_multidir/print_cwd_basename.py

Issue 1454433002: Python 3 compatibility Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase with master (4ec6c4e3a94bd04a6da2858163d40b2429b8aad1) Created 4 years, 8 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
Index: test/variables/commands/repeated_multidir/print_cwd_basename.py
diff --git a/test/variables/commands/repeated_multidir/print_cwd_basename.py b/test/variables/commands/repeated_multidir/print_cwd_basename.py
index ace9ed6b801409d58bcf1fdd62c851d123d9fe2a..9b206bb3d4319383ae2faadcf665774d8e4c8b1d 100755
--- a/test/variables/commands/repeated_multidir/print_cwd_basename.py
+++ b/test/variables/commands/repeated_multidir/print_cwd_basename.py
@@ -4,7 +4,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from __future__ import print_function
import os
import os.path
-print os.path.basename(os.getcwd())
+print(os.path.basename(os.getcwd()))

Powered by Google App Engine
This is Rietveld 408576698