Fix some code inspection complaints

This commit is contained in:
Dave Page
2017-03-25 22:04:52 -04:00
parent a6fa35789c
commit 6152d73f13
10 changed files with 42 additions and 51 deletions
@@ -1181,7 +1181,7 @@ Failed to reset the connection to the server due to following error:
pos = 0
for col in self.column_info:
col['pos'] = pos
pos = pos + 1
pos += 1
self.row_count = cur.rowcount
@@ -90,7 +90,7 @@ def parse_typed_field_list(tokens):
# " ( [ [ argmode ] [ argname ] argtype
# [ { DEFAULT | = } default_expr ] [, ...] ] )"
mode_names = set(('IN', 'OUT', 'INOUT', 'VARIADIC'))
mode_names = {'IN', 'OUT', 'INOUT', 'VARIADIC'}
parse_state = 'type'
parens = 0
field = TypedFieldMetadata()