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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/web.py

Issue 2606103002: Rename convert_404_to_None -> return_none_on_404. (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Tools/Scripts/webkitpy/common/net/web.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web.py
index 167548e13143baaa71de4846bd32f3a09b4c40e1..f640de75585fe0aa836b5d74c5f109b049f2d2da 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web.py
@@ -33,5 +33,5 @@ from webkitpy.common.net.network_transaction import NetworkTransaction
class Web(object):
- def get_binary(self, url, convert_404_to_None=False):
- return NetworkTransaction(convert_404_to_None=convert_404_to_None).run(lambda: urllib2.urlopen(url).read())
+ def get_binary(self, url, return_none_on_404=False):
+ return NetworkTransaction(return_none_on_404=return_none_on_404).run(lambda: urllib2.urlopen(url).read())

Powered by Google App Engine
This is Rietveld 408576698