Skip to content

Commit

Permalink
Fix modified dictionary iteration as 1.12.1
Browse files Browse the repository at this point in the history
See #273
  • Loading branch information
phillipberndt committed Dec 22, 2021
1 parent 1c6fa77 commit 50b3688
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ options nvidia_drm modeset=1

## Changelog

**autorandr 1.12.1**
* *2021-12-22* Fix `--match-edid` (see #273)

**autorandr 1.12**
* *2021-12-16* Switch default interpreter to Python 3
* *2021-12-16* Add `--list` to list all profiles
Expand Down
4 changes: 2 additions & 2 deletions autorandr.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
else:
import configparser

__version__ = "1.12"
__version__ = "1.12.1"

try:
input = raw_input
Expand Down Expand Up @@ -649,7 +649,7 @@ def update_profiles_edid(profiles, config):
profile_config = profiles[p]["config"]

for edid in edid_map:
for c in profile_config.keys():
for c in list(profile_config.keys()):
if profile_config[c].edid != edid or c == edid_map[edid]:
continue

Expand Down
2 changes: 1 addition & 1 deletion contrib/packaging/rpm/autorandr.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: autorandr
Version: 1.12
Version: 1.12.1
Release: %autorelease
Summary: Automatically select a display configuration based on connected devices

Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
setup(
name='autorandr',

version='1.12.post1',
version='1.12.1.post1',

description='Automatically select a display configuration based on connected devices',
long_description=long_description,
Expand All @@ -35,7 +35,11 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],

keywords='xrandr',
Expand Down

0 comments on commit 50b3688

Please sign in to comment.