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

Unified Diff: utils/net.py

Issue 25549003: Fix running 'import run_isolated' at python interactive prompt. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/swarm_client@1_update_item
Patch Set: Added comment Created 7 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 | « tests/swarming_test.py ('k') | utils/zip_package.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/net.py
diff --git a/utils/net.py b/utils/net.py
index 1a93d4ad6e4ce4d60a0e8cf64ac4789f3b2354a4..28972c1e620f891056a9aace1410c5c6efae5326 100644
--- a/utils/net.py
+++ b/utils/net.py
@@ -319,7 +319,7 @@ class HttpService(object):
into memory buffer before returning file-like object that reads from this
memory buffer.
"""
- assert urlpath and urlpath[0] == '/'
+ assert urlpath and urlpath[0] == '/', urlpath
if data is not None:
assert method in (None, 'POST', 'PUT')
« no previous file with comments | « tests/swarming_test.py ('k') | utils/zip_package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698