]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Fix wrong exception excepted in configurations script
authorKarel Kočí <cynerd@email.cz>
Tue, 18 Aug 2015 13:52:28 +0000 (15:52 +0200)
committerKarel Kočí <cynerd@email.cz>
Tue, 18 Aug 2015 13:52:28 +0000 (15:52 +0200)
scripts/configurations.py

index f7f16946a232d9c530bb09045ca179fb7138e6fd..428e21429acd750013ea56aad1c1a724bb42b7d6 100644 (file)
@@ -129,7 +129,7 @@ def __calchash__(con):
                try:
                        if con[c]:
                                cstr += c
-               except ValueError:
+               except KeyError:
                        pass
 
        # Add missing