Oaiharvest admin fixes

Fixes problems with OAI harvest admin interface as reported in  #2188.

Also makes it more pleasant to look at.
1: D400 First line should end with '.', not 'd'
1: D205 Blank line missing between one-line summary and description
31:25: E126 continuation line over-indented for hanging indent
33:1: E302 expected 2 blank lines, found 1
33: D290 White spaces around docstring should be trimmed.
33: D203 Expected 1 blank line *before* class docstring, found 0
33: D400 First line should end with '.', not 's'
36: D400 First line should end with '.', not 'e'
36: D208 Docstring is over-indented
36: D200 One-line docstring should not occupy 3 lines
47: D209 Put multi-line docstring closing quotes on separate line
47: D400 First line should end with '.', not 'l'
47: D205 Blank line missing between one-line summary and description
47: D208 Docstring is over-indented
50:9: F841 local variable '_' is assigned to but never used
55: D401 First line should be imperative: 'Draw', not 'Draws'
55: D400 First line should end with '.', not 'r'
55: D205 Blank line missing between one-line summary and description
55: D208 Docstring is over-indented
73:5: E303 too many blank lines (2)
73: D401 First line should be imperative: 'Draw', not 'Draws'
73: D400 First line should end with '.', not 'r'
73: D205 Blank line missing between one-line summary and description
73: D208 Docstring is over-indented
87: D401 First line should be imperative: 'Draw', not 'Draws'
87: D400 First line should end with '.', not 'r'
87: D205 Blank line missing between one-line summary and description
87: D208 Docstring is over-indented
99: D209 Put multi-line docstring closing quotes on separate line
99: D400 First line should end with '.', not 'l'
99: D205 Blank line missing between one-line summary and description
99: D208 Docstring is over-indented
112: D102 Docstring missing
127: D401 First line should be imperative: 'Draw', not 'Draws'
127: D400 First line should end with '.', not 'x'
127: D205 Blank line missing between one-line summary and description
127: D208 Docstring is over-indented
146: D401 First line should be imperative: 'Draw', not 'Draws'
146: D400 First line should end with '.', not 'x'
146: D205 Blank line missing between one-line summary and description
146: D208 Docstring is over-indented
164: D401 First line should be imperative: 'Draw', not 'Draws'
164: D400 First line should end with '.', not 's'
164: D205 Blank line missing between one-line summary and description
164: D208 Docstring is over-indented
197: D401 First line should be imperative: 'Draw', not 'Draws'
197: D400 First line should end with '.', not 't'
197: D205 Blank line missing between one-line summary and description
197: D208 Docstring is over-indented
241:79: E502 the backslash is redundant between brackets
242:74: E502 the backslash is redundant between brackets
245:95: E502 the backslash is redundant between brackets
246:86: E502 the backslash is redundant between brackets
247:87: E502 the backslash is redundant between brackets
254:5: E303 too many blank lines (2)
254: D401 First line should be imperative: 'Draw', not 'Draws'
254: D209 Put multi-line docstring closing quotes on separate line
254: D400 First line should end with '.', not 'x'
254: D205 Blank line missing between one-line summary and description
254: D208 Docstring is over-indented
259:9: F841 local variable '_' is assigned to but never used
268:42: E261 at least two spaces before inline comment
268:43: E262 inline comment should start with '# '
272:31: F841 local variable 'e' is assigned to but never used
280: D401 First line should be imperative: 'Return', not 'Returns'
280: D400 First line should end with '.', not ':'
280: D205 Blank line missing between one-line summary and description
289:9: F841 local variable '_' is assigned to but never used
294:18: E225 missing whitespace around operator
296:18: E127 continuation line over-indented for visual indent
299: D401 First line should be imperative: 'Output', not 'Outputs'
299: D400 First line should end with '.', not 'o'
306: D401 First line should be imperative: 'Output', not 'Outputs'
306: D400 First line should end with '.', not 'o'
313: D401 First line should be imperative: 'Output', not 'Outputs'
313: D400 First line should end with '.', not 's'
315:9: F841 local variable '_' is assigned to but never used
322: D401 First line should be imperative: 'Print', not 'Prints'
322: D209 Put multi-line docstring closing quotes on separate line
322: D400 First line should end with '.', not 't'
322: D205 Blank line missing between one-line summary and description
322: D208 Docstring is over-indented
336: D401 First line should be imperative: 'Print', not 'Prints'
336: D400 First line should end with '.', not 'e'
338:9: F841 local variable '_' is assigned to but never used
343: D102 Docstring missing
347: D400 First line should end with '.', not 'n'
360:15: E221 multiple spaces before operator
377: D401 First line should be imperative: 'Print', not 'Prints'
377: D400 First line should end with '.', not ','
377: D205 Blank line missing between one-line summary and description
406: D102 Docstring missing
408:22: E711 comparison to None should be 'if cond is not None:'
415: D102 Docstring missing
418: D102 Docstring missing
424:21: E711 comparison to None should be 'if cond is not None:'
429: D102 Docstring missing
435:21: E711 comparison to None should be 'if cond is not None:'
440: D102 Docstring missing
443: D102 Docstring missing
446: D400 First line should end with '.', not 'y'
449:65: E502 the backslash is redundant between brackets
451:46: E231 missing whitespace after ':'
457:34: E127 continuation line over-indented for visual indent
459: D102 Docstring missing
467: D102 Docstring missing
471: D102 Docstring missing
474: D102 Docstring missing
477: D102 Docstring missing
483: D102 Docstring missing
489: D401 First line should be imperative: 'construct', not 'constructs'
489: D400 First line should end with '.', not 'r'
492:26: E711 comparison to None should be 'if cond is None:'
508:68: E502 the backslash is redundant between brackets
510:49: E231 missing whitespace after ':'
515:68: E502 the backslash is redundant between brackets
517:49: E231 missing whitespace after ':'
527: D102 Docstring missing
534: D401 First line should be imperative: 'Write', not 'Writes'
534: D400 First line should end with '.', not 's'
578: D401 First line should be imperative: 'Create', not 'Creates'
578: D205 Blank line missing between one-line summary and description
603: D102 Docstring missing
607: D400 First line should end with '.', not 'u'
607: D208 Docstring is over-indented
607: D200 One-line docstring should not occupy 3 lines
620:70: E502 the backslash is redundant between brackets
624:72: E502 the backslash is redundant between brackets
625:38: E128 continuation line under-indented for visual indent
626:38: E128 continuation line under-indented for visual indent
627:38: E128 continuation line under-indented for visual indent
628:70: E502 the backslash is redundant between brackets
632:70: E502 the backslash is redundant between brackets
636:73: E502 the backslash is redundant between brackets
641:63: E203 whitespace before ','
644:23: E711 comparison to None should be 'if cond is not None:'
646:23: E126 continuation line over-indented for hanging indent
654: D401 First line should be imperative: 'Convert', not 'Converts'
654: D400 First line should end with '.', not 's'
654: D205 Blank line missing between one-line summary and description
665: D401 First line should be imperative: 'format', not 'formats'
665: D400 First line should end with '.', not 't'
665: D205 Blank line missing between one-line summary and description
671:17: E711 comparison to None should be 'if cond is None:'
675: D102 Docstring missing
676:17: E711 comparison to None should be 'if cond is None:'
680: D102 Docstring missing
681:25: E711 comparison to None should be 'if cond is None:'
684:16: E127 continuation line over-indented for visual indent
685:16: E127 continuation line over-indented for visual indent
687: D102 Docstring missing
698: D400 First line should end with '.', not 'w'
698: D205 Blank line missing between one-line summary and description
698: D208 Docstring is over-indented
710:21: E126 continuation line over-indented for hanging indent
711:28: E203 whitespace before ':'
712:17: E121 continuation line under-indented for hanging indent
725:22: E203 whitespace before ':'
726:28: E203 whitespace before ':'
727:8: E122 continuation line missing indentation or outdented
729: D400 First line should end with '.', not 'e'
729: D205 Blank line missing between one-line summary and description
750:16: E713 test for membership should be 'not in'