Changeset - 75e886b91cc0
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2015-07-07 19:19:52
dennis.fink@c3l.lu
Fixed line endings in utils.py
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spaceapi/utils.py
Show inline comments
 
from flask import request
 
 

	
 
def request_wants_json():
 
    best = request.accept_mimetypes.best_match(
 
        ['application/json', 'text/html']
 
@@ -17,6 +18,7 @@ def fuzzy_list_find(lst, key, value):
 
 
    raise ValueError
 
 

	
 
def first(iterable, keys):
 
	for el in keys:
 
		if el in iterable:
0 comments (0 inline, 0 general)