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

Side by Side Diff: recipe_engine/third_party/setuptools/py27compat.py

Issue 1344583003: Recipe package system. (Closed) Base URL: git@github.com:luci/recipes-py.git@master
Patch Set: Recompiled proto Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 """
2 Compatibility Support for Python 2.7 and earlier
3 """
4
5 import sys
6
7 def get_all_headers(message, key):
8 """
9 Given an HTTPMessage, return all headers matching a given key.
10 """
11 return message.get_all(key)
12
13 if sys.version_info < (3,):
14 def get_all_headers(message, key):
15 return message.getheaders(key)
OLDNEW
« no previous file with comments | « recipe_engine/third_party/setuptools/py26compat.py ('k') | recipe_engine/third_party/setuptools/py31compat.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698