Commit graph

11 commits

Author SHA1 Message Date
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
Mike Bonnet
ab53d2deb0 update copyright 2014-10-28 23:54:21 -04:00
Mike McLean
61ed1260d3 log failed queries 2014-10-22 15:00:44 -04:00
Mike McLean
5dac6536a4 fix for _quoteparams issue 2012-03-09 16:36:53 -05:00
Mike McLean
589a8ee481 remove extraneous newlines in logs 2010-04-16 12:42:18 -04:00
Mike McLean
04042ce4de log db connection errors 2010-03-12 17:55:04 -05:00
Mike McLean
487ccdb2e3 clean up hub logging a bit 2010-03-12 15:34:02 -05:00
Mike McLean
ca48ded98d avoid 'no transaction in progress' warnings (Ticket #162)
https://fedorahosted.org/koji/ticket/162
2009-11-24 15:58:13 -05:00
Mike McLean
5088019eac avoid open transactions between calls 2009-11-12 16:10:30 -05:00
Mike McLean
58b7313d0a don't recycle broken db connections 2008-02-22 11:28:37 -05:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00