Commit graph

19 commits

Author SHA1 Message Date
Tomas Kopecek
70224c42c1 remove obsoleted StandardError 2017-03-17 11:35:53 -04:00
Tomas Kopecek
e355527649 remove deprecated "filer" calls 2017-03-17 11:35:53 -04:00
Mike McLean
06818122ab stop mangling psycopg2.extensions 2017-03-14 09:51:28 -04:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Mike Bonnet
f61b223723 convert from pygresql to psycopg2 2017-01-17 14:36:14 -05:00
Mike McLean
a1c8808544 ImportErrors are uncovered 2016-10-25 17:16:12 -04:00
Mohan Boddu
dd82e9cea2 Remove all bad-whitespaces
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-08-29 14:26:32 -04: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
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