+ def _getFile(self, url=None, relative=None, local=None, start=None, end=None,
+ copy_local=None, checkfunc=None, text=None, reget='simple',
+ cache=True, size=None):
+
+ m2c_connection = None
+ if not self.sslverify:
+ import M2Crypto
+ m2c_connection = M2Crypto.SSL.Connection.clientPostConnectionCheck
+ M2Crypto.SSL.Connection.clientPostConnectionCheck = None
+
+ rvalue = super(MyYumRepository, self)._getFile(url, relative, local,
+ start, end, copy_local, checkfunc, text, reget, cache, size)
+
+ if m2c_connection and not M2Crypto.SSL.Connection.clientPostConnectionCheck:
+ M2Crypto.SSL.Connection.clientPostConnectionCheck = m2c_connection
+
+ return rvalue
+