python3: fixed various code issues
- iterators - use of u''
This commit is contained in:
parent
7556b374d5
commit
34af9cfa2f
39 changed files with 182 additions and 188 deletions
|
|
@ -753,7 +753,7 @@ class RepoPullRequestsView(RepoAppView, DataGridAppView):
|
|||
c.commit_changes = []
|
||||
|
||||
def mark(cs, fw):
|
||||
return list(h.itertools.izip_longest([], cs, fillvalue=fw))
|
||||
return list(h.itertools.zip_longest([], cs, fillvalue=fw))
|
||||
|
||||
for c_type, raw_id in mark(commit_changes.added, 'a') \
|
||||
+ mark(commit_changes.removed, 'r') \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue