diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-07-09 21:53:34 +0300 |
---|---|---|
committer | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-07-09 21:53:34 +0300 |
commit | cd5b765877776bb3c36b9ca64f807a8e1b69b041 (patch) | |
tree | fc9c642a45e4fcdfc252fc939fade1c06e2e0d54 /tools | |
parent | 2eed098a18e1eff26a2737d7cdcff70cdce036c7 (diff) |
Small changes. Xcode build fixed.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/python/booking_hotels.py | 2 | ||||
-rwxr-xr-x | tools/python/booking_hotels_quality.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/python/booking_hotels.py b/tools/python/booking_hotels.py index dda40cc7cf..8912fdebe9 100755 --- a/tools/python/booking_hotels.py +++ b/tools/python/booking_hotels.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # coding: utf8 from __future__ import print_function diff --git a/tools/python/booking_hotels_quality.py b/tools/python/booking_hotels_quality.py index 9c81dad52a..914e4c797f 100755 --- a/tools/python/booking_hotels_quality.py +++ b/tools/python/booking_hotels_quality.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # coding: utf8 from __future__ import print_function @@ -21,7 +21,7 @@ logging.basicConfig(level=logging.DEBUG, format='[%(asctime)s] %(levelname)s: %( def load_binary_list(path): """ - Loads binary classifier output. + Loads referance binary classifier output. """ bits = [] with open(path, 'r') as fd: @@ -46,6 +46,7 @@ def load_score_list(path): def process_options(): + # TODO(mgsergio): Fix description. parser = argparse.ArgumentParser(description="Download and process booking hotels.") parser.add_argument("-v", "--verbose", action="store_true", dest="verbose") parser.add_argument("-q", "--quiet", action="store_false", dest="verbose") |