Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add RSYNC_PROXY at mrepo

  • Loading branch information...
commit ee15ecde37252c66d8812311339db5fc05903b39 1 parent 9136ec9
@ubeck ubeck authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mrepo
View
3  mrepo
@@ -208,6 +208,7 @@ class Config:
self.ftp_proxy = self.getoption('main', 'ftp_proxy', None)
self.http_proxy = self.getoption('main', 'http_proxy', None)
self.https_proxy = self.getoption('main', 'https_proxy', None)
+ self.RSYNC_PROXY = self.getoption('main', 'RSYNC_PROXY', None)
self.cmd = {}
self.cmd['createrepo'] = self.getoption('main', 'createrepocmd', '/usr/bin/createrepo')
@@ -1685,6 +1686,8 @@ def main():
os.environ['http_proxy'] = cf.http_proxy
if cf.https_proxy:
os.environ['https_proxy'] = cf.https_proxy
+ if cf.RSYNC_PROXY:
+ os.environ['RSYNC_PROXY'] = cf.RSYNC_PROXY
### Select list of distributions in order of appearance
if not op.dists:
Please sign in to comment.
Something went wrong with that request. Please try again.