glance/glance
Ben Nemec 6310052486 Make eventlet monkey patching conform to best practices
Per [1], eventlet monkey patching should happen as early as
possible to avoid mismatches where a module was imported both before
and after it was monkey patched.  This is an exception to the import
order rules that should maybe be more explicitly called out.

In addition, partial monkey patching can be a problem, as shown in
the discussion of the thread module from the same document.  This
seems to be contributing to the doc build problems that are
occurring with the latest version of openstackdocstheme, so the
partial monkey patching is also removed in favor of full patching.

Change-Id: I0d2d9fb9f0b9d747ad1d955420f6ad129ebbfbcf
1: http://specs.openstack.org/openstack/openstack-specs/specs/eventlet-best-practices.html#monkey-patching
Closes-Bug: 1759935
2018-03-29 20:36:09 +00:00
..
api Merge "Use config opt value to determine import methods" 2018-03-19 10:21:08 +00:00
async Revise help text for uri filtering options 2018-02-20 16:05:45 -05:00
cmd Make eventlet monkey patching conform to best practices 2018-03-29 20:36:09 +00:00
common Revise help text for uri filtering options 2018-02-20 16:05:45 -05:00
db Open Rocky for data migrations 2018-03-08 10:36:01 -05:00
domain Prevent image become active without disk and container formats 2017-12-07 03:41:40 +00:00
hacking Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
image_cache Handle file delete races in image cache 2017-07-10 11:37:55 -05:00
locale Imported Translations from Zanata 2018-03-06 07:24:50 +00:00
quota Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
registry Deprecate Registry and it's config opts 2017-10-13 16:09:06 +01:00
tests Make eventlet monkey patching conform to best practices 2018-03-29 20:36:09 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Use new oslo.context arg names 2017-11-27 10:20:10 -06:00
gateway.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
i18n.py Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
location.py Merge "Fixed indentation" 2016-10-20 14:36:35 +00:00
notifier.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
opts.py Fix config group not found error 2018-02-18 14:18:29 -05:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py Scrubber refactor 2018-01-11 10:04:16 +08:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00