Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(113)

Issue 186207: Use list comprehensions for dictfetch* function of cursor (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years ago by ced
Modified:
16 years ago
Reviewers:
bch, h.goebel, yangoon1
Visibility:
Public.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use enumerate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -24 lines) Patch
M trytond/backend/postgresql/database.py View 1 2 chunks +4 lines, -12 lines 0 comments Download
M trytond/backend/sqlite/database.py View 1 2 chunks +4 lines, -12 lines 0 comments Download

Messages

Total messages: 4
ced
16 years ago (2010-01-18 19:54:16 UTC) #1
h.goebel
http://codereview.appspot.com/186207/diff/1/2 File trytond/backend/postgresql/database.py (right): http://codereview.appspot.com/186207/diff/1/2#newcode245 trytond/backend/postgresql/database.py:245: for i in xrange(len(self.description))) should use enumerate(): return dict((desc[0], ...
16 years ago (2010-01-19 09:48:01 UTC) #2
ced
16 years ago (2010-01-19 09:55:20 UTC) #3
yangoon1
16 years ago (2010-01-19 10:16:51 UTC) #4

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b