Skip to content

Commit

Permalink
python3 fix: needs help sorting structures
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@6190 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 27, 2014
1 parent 9852f29 commit 778fd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/video_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def init_csc_options(self):
for src_format, d in sorted(self._csc_encoder_specs.items()):
log("%s - %s options:", src_format, len(d))
for dst_format, specs in sorted(d.items()):
log(" * %s via: %s", dst_format, sorted(list(specs)))
log(" * %s via: %s", dst_format, sorted(list(specs), key=lambda spec: spec.codec_type))

def init_csc_option(self, csc_name):
csc_module = get_codec(csc_name)
Expand Down

0 comments on commit 778fd38

Please sign in to comment.