| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit b7cdc21aee7584bd33c3b3d7856397bc927e88b5)
|
|
|
|
|
|
|
| |
We're not yet compatible with jinja2-2.9 so help out people using pip to
install to get a working installation.
(cherry picked from commit 06ed25e788a3324214ee3226ca35b5586ee83344)
|
| |
|
|
|
|
| |
(cherry picked from commit a94a48f85fe4a76ab6e61ef9d1b9266b17cabc74)
|
|
|
|
| |
(cherry picked from commit d316068831f9e08ef96833200ec7df2132263966)
|
|
|
|
| |
(cherry picked from commit bcceada5d9b78ad77069c78226f8e9b336ff8949)
|
| |
|
|
|
|
| |
(cherry picked from commit cc3d131f503b34ae972dbed94a0b5fde567aab92)
|
| |
|
|
|
|
| |
(cherry picked from c8f8d0607c5c123522951835603ccb7948e663d5)
|
|
|
|
|
|
| |
Fixes #19398
(cherry picked from commit b688f1147474df7ab0c42a62f8c8258edcd9b425)
|
|
|
|
|
|
|
|
|
| |
This provides better error handling, and prevents errors like KeyError
from bubbliing up to code in odd places.
Fixes #17482
(cherry picked from commit 85bbce9d6b2e0cc06642ae10fa8ff7b9c8ae5454)
|
|
|
|
| |
(cherry picked from commit 18b7852940a3525bc7d147f68420b360b29cd0d0)
|
| |
|
|
|
|
|
|
|
|
|
| |
This forces basic auth to be used. Using the normal HTTPPasswordMgrWithDefaultRealm
password manager from urllib2 fails since collins doesn't send a 401 retry on failure.
More about this can be seen here http://stackoverflow.com/questions/2407126/python-urllib2-basic-auth-problem.
I added a small comment about the format of the host so others don't waste time like i did.
(cherry picked from commit 21813ed83eb899a7c2c78b024abcd9db6ce01023)
|
|
|
|
|
|
| |
w… (#17766)"
This reverts commit a36ac1ad1b01256041be5033d40c68554fb96f12.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#17766)
* Moved the _inventory.clear_group_dict_cache() from creating a group which doesn't exist, to adding members to the group.
* Update __init__.py
Update to use changed: block to catch all changes for cache clear as suggested
(cherry picked from commit b91d4d884d14101bc526ced4457bd02c1bd78ef6)
|
|
|
|
| |
(cherry picked from commit 5d043b65d355b8d7ef2696d457a916e607756ee6)
|
|
|
|
| |
(cherry picked from commit 7c960d440f9d9db3d2aa01183f399e113237ed0b)
|
|
|
|
|
|
| |
This should help on issues like #16222.
(cherry picked from commit 57cf5e431c69e7f8bb8607ff37fd51418249d03c)
|
| |
|
|
|
|
|
|
|
|
| |
This allows meta refresh_inventory to work with relative paths
Added option to unfrackpath to not resolv symlinks
fixes #16857
(cherry picked from commit 8217c1c39c8de848550e2a6c816377f11cc60e9f)
|
|
|
|
|
|
|
|
| |
* fixed
* support both python 2 and 3
(cherry picked from commit adea1f2b80d806d94ca1bdb2d06f2df077feb948)
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit 0bb04e132a1d144d8d608fc0e201c426e5aa21a0.
This was supposed to land on stable-2.2, not stable-2.1
|
|
|
|
| |
(cherry picked from commit 19fdb58948e4e854bf776559fc7948205f884503)
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit d1e1898b0ed6c57ef32a1dda01c3309c30489cfa)
|
|
|
|
|
|
| |
Fixes #15925
(cherry picked from commit 236c923c25c053b0ff912f328e87da2dd26cbf69)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Switch test_lookups to badssl/local testing.
* Use var for checking badssl host content.
(cherry picked from commit 394430a61e6caa8462805c2b6fa58a8abb06832e)
|
|
|
|
|
| |
(#18120)
See #18001 for more details
|
| |
|
| |
|
| |
|
|
|
|
| |
password hiding fix
|
| |
|
|
|
|
| |
Cherry-picked from a part of f24c10c32be86d3eb792d109fb6fdad19bbfcf4c
|
|
|
|
|
|
|
|
| |
Fixes #18029
(cherry picked from commit efc5dac52cdfab25c3b163958830325f6898d3b6)
In 2.1, the to_bytes function doesn't have a surrogate_or_strict error handler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix unbound method call for JSONEncoder
The way it is currently it will lead to unbound method error
```python
In [1]: import json
In [2]: json.JSONEncoder.default('object_here')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-872fdacfda50> in <module>()
----> 1 json.JSONEncoder.default('object_here')
TypeError: unbound method default() must be called with JSONEncoder instance as first argument (got str instance instead)
```
But what is really wanted is to let the json module to raise the "is not serializable error" which demands a bounded instance of `JSONEncoder()`
```python
In [3]: json.JSONEncoder().default('object_here')
---------------------------------------------------------------------------
TypeError: 'object_here' is not JSON serializable
```
BTW: I think it would try to call `.to_json` of object before raising as it is a common pattern.
* Calling JSONEncoder bounded `default` method using super()
(cherry picked from commit b06fb2022c7534620238a7da00ad26018433156c)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Searching the DEFAULT_ROLES_PATH and the roles basedir should come
before this, and it has been a long standing oversight.
Fixes #17882
(cherry picked from commit 0a86ddc25125359c244ac7040036a5080dd5bb04)
|