New Flake8 fixes

This commit is contained in:
Erik Johnston 2016-11-15 11:22:29 +00:00
parent 9355a5c42b
commit f9d156d270
2 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def requirements(config=None, include_conditional=False):
def github_link(project, version, egg): def github_link(project, version, egg):
return "https://github.com/%s/tarball/%s/#egg=%s" % (project, version, egg) return "https://github.com/%s/tarball/%s/#egg=%s" % (project, version, egg)
DEPENDENCY_LINKS = { DEPENDENCY_LINKS = {
} }
@ -156,6 +157,7 @@ def list_requirements():
result.append(requirement) result.append(requirement)
return result return result
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
sys.stdout.writelines(req + "\n" for req in list_requirements()) sys.stdout.writelines(req + "\n" for req in list_requirements())

View File

@ -54,6 +54,7 @@ def encode_json(json_object):
else: else:
return json.dumps(json_object, ensure_ascii=False) return json.dumps(json_object, ensure_ascii=False)
# These values are used in the `enqueus_event` and `_do_fetch` methods to # These values are used in the `enqueus_event` and `_do_fetch` methods to
# control how we batch/bulk fetch events from the database. # control how we batch/bulk fetch events from the database.
# The values are plucked out of thing air to make initial sync run faster # The values are plucked out of thing air to make initial sync run faster