Skip to content

Commit

Permalink
Fix for #59 and update to 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrossard committed Sep 6, 2017
1 parent ddff91f commit 336db07
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.2.2 (2017-09-06)
- #59: Handle special value '__none__' for proxy (@andlam)

## 1.2.1 (2017-07-31)
- #3: Add support for proxy in configurations and environment
variables (@AgarFu)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = yum-plugin-s3-iam
VERSION = 1.2.1
VERSION = 1.2.2
RELEASE = 1
ARCH = noarch

Expand Down
4 changes: 2 additions & 2 deletions s3iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
__email__ = "[email protected]"
__copyright__ = "Copyright 2012, Julius Seporaitis"
__license__ = "Apache 2.0"
__version__ = "1.2.1"
__version__ = "1.2.2"


__all__ = ['requires_api_version', 'plugin_type', 'CONDUIT',
Expand Down Expand Up @@ -167,7 +167,7 @@ def __init__(self, repoid, repo):
proxy_config['https'] = os.environ['https_proxy']
if 'http_proxy' in os.environ:
proxy_config['http'] = os.environ['http_proxy']
if repo.proxy:
if repo.proxy and repo.proxy != '__none__':
proxy_config['https'] = proxy_config['http'] = repo.proxy
if proxy_config:
proxy = urllib2.ProxyHandler(proxy_config)
Expand Down
3 changes: 3 additions & 0 deletions yum-plugin-s3-iam.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ rm -rf ${RPM_BUILD_ROOT}
/usr/lib/yum-plugins/s3iam.py*

%changelog
* Fri May 05 2017 Mathias Brossard <[email protected]> 1.2.2-1
- Handle special value '__none__' for proxy (@andlam)

* Fri May 05 2017 Mathias Brossard <[email protected]> 1.2.1-1
- Add support for proxy (@AgarFu)

Expand Down

0 comments on commit 336db07

Please sign in to comment.