Commit 6ba49a9
committed
[IMP] pg: tiny simplification
When using a `Cursor` in a `with` statement, it will be committed
automatically. No need to do it explicitly and no need to save the rowcount in
a local var.
closes #279
Signed-off-by: Christophe Simonis (chs) <[email protected]>1 parent 6f1cfcd commit 6ba49a9
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 114 | + | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
0 commit comments