]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Sort fingerprint file in python version (for legacy compatibility)
authorPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 7 Jan 2015 08:58:18 +0000 (09:58 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 7 Jan 2015 08:58:18 +0000 (09:58 +0100)
autorandr.py

index e19e8648f36597b39a175cae56917a4ae065b5b7..9a5b9780183830ea165a73f2c2c1bafa5dc20742 100755 (executable)
@@ -265,7 +265,7 @@ def output_configuration(configuration, config):
 
 def output_setup(configuration, setup):
     "Write a setup (fingerprint) file"
-    outputs = sorted(configuration.keys(), key=lambda x: configuration[x].sort_key)
+    outputs = sorted(configuration.keys())
     for output in outputs:
         if configuration[output].edid:
             print(output, configuration[output].edid, file=setup)