Commit graph

7 commits

Author SHA1 Message Date
Mike McLean
7e56b133a0 handle Unexpected EOF exceptions on reads 2016-01-05 17:56:40 -05:00
Till Maas
3a13307598 Increase default SSL timeout to 600
60 is not enough to process a full release like Rawhide and last I
checked the code to use a different timeout than the default timeout
does not work. Therefore use a working default value.

Signed-off-by: Till Maas <opensource@till.name>
2015-11-27 18:39:13 +01:00
Pavol Babincak
9e89ebb9a4 Ran reindent.py from cpython tools on all python scripts
Citing from reindent docs:

    Change Python (.py) files to use 4-space indents and no hard tab
    characters. Also trim excess spaces and tabs from ends of lines, and
    remove empty lines at the end of files.  Also ensure the last line
    ends with a newline.

Citing from PEP 8:

    Use 4 spaces per indentation level.

    Python 2 code indented with a mixture of tabs and spaces should be
    converted to using spaces exclusively.

    Don't write string literals that rely on significant trailing
    whitespace. Such trailing whitespace is visually indistinguishable
    and some editors (or more recently, reindent.py) will trim them.

Also PyLint recommends not to have trailing whitespace on any line.
2015-05-13 16:39:53 -04:00
Dennis Gilmore
582a0679e7 change default ssl timeout to 60 seconds 2013-03-06 12:41:47 -06:00
Dennis Gilmore
5534ec370c remove shebang SSLConnection.py is not a standalone script
bugzilla #529250
2012-08-16 20:01:44 -05:00
Mike McLean
7876bc06fe fix ssl connections for python 2.7 (rhbz#619276)
(without breaking earlier python versions)
2010-12-08 14:57:07 -05:00
Michael Bonnet
95db5c1f63 enable authentication from the cli via SSL client certificates 2007-03-16 21:39:01 -04:00