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

Unified Diff: third_party/gsutil/gslib/commands/config.py

Issue 341833005: Fix undefined default_config_path_bak in gsutil config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 6 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: third_party/gsutil/gslib/commands/config.py
diff --git a/third_party/gsutil/gslib/commands/config.py b/third_party/gsutil/gslib/commands/config.py
index edef87f904d0b15aab6eae392dba9ef1277c8d23..8d7ab4f8704287f8d5b944b6d36adf840d86908f 100644
--- a/third_party/gsutil/gslib/commands/config.py
+++ b/third_party/gsutil/gslib/commands/config.py
@@ -625,6 +625,8 @@ class ConfigCommand(Command):
'file ("%s" -> "%s"): %s.'
% (default_config_path, default_config_path_bak, e))
output_file_name = default_config_path
+ else:
+ default_config_path_bak = None
Ryan Tseng 2014/06/23 21:29:22 Move this before 597 before the if (to make it mor
if output_file_name == '-':
output_file = sys.stdout
« 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