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

Unified Diff: scripts/slave/recipe_modules/chromium_android/api.py

Issue 2314383002: chromium_android: fix dangerous default value (Closed)
Patch Set: Created 4 years, 3 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: scripts/slave/recipe_modules/chromium_android/api.py
diff --git a/scripts/slave/recipe_modules/chromium_android/api.py b/scripts/slave/recipe_modules/chromium_android/api.py
index 3ec38860c5a24e3db980b7164016ce6030d923e6..dbaa4930463d0fc3b78cea3773b1697627d56e13 100644
--- a/scripts/slave/recipe_modules/chromium_android/api.py
+++ b/scripts/slave/recipe_modules/chromium_android/api.py
@@ -368,7 +368,8 @@ class AndroidApi(recipe_api.RecipeApi):
self.device_recovery()
return self.device_status()
- def host_info(self, args=[], **kwargs):
+ def host_info(self, args=None, **kwargs):
+ args = args or []
results = None
try:
with self.handle_exit_codes():
« 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