Skip to content

Commit

Permalink
Removes unused variable
Browse files Browse the repository at this point in the history
Pyflakes3 warns about an unused variable :
> minidb.py:263: local variable 'res' is assigned to but never used
  • Loading branch information
mwerlen committed Feb 24, 2018
1 parent e698575 commit f3bce7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minidb.py
Expand Up @@ -260,7 +260,7 @@ def delete_by_pk(self, o):
pk = getattr(o, pk_name)
assert pk is not None

res = self._execute('DELETE FROM %s WHERE %s = ?' % (table, pk_name), [pk])
self._execute('DELETE FROM %s WHERE %s = ?' % (table, pk_name), [pk])
setattr(o, pk_name, None)

def _update(self, o):
Expand Down

0 comments on commit f3bce7e

Please sign in to comment.