Skip to content

Commit

Permalink
Merge pull request #20 from zopefoundation/python3
Browse files Browse the repository at this point in the history
fix sorting request_types in py3
  • Loading branch information
dataflake committed Jun 13, 2018
2 parents d93fa0c + 6d88538 commit a04e9bc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,8 @@ def manage_editProtocolMapping(self, REQUEST=None):
available_protocols = self._listProtocols()

request_types = listRequestTypesLabels()
request_types.sort()

for label in request_types:
for label in sorted(request_types):
settings = []
select_any = False
info.append({'label': label, 'settings': settings})
Expand Down

0 comments on commit a04e9bc

Please sign in to comment.