Revision 807c1992 snf-common/synnefo/lib/commissioning/specificator.py
b/snf-common/synnefo/lib/commissioning/specificator.py | ||
---|---|---|
549 | 549 |
if not key in canonified.keys(): |
550 | 550 |
position = i + 1 |
551 | 551 |
break |
552 |
else: # exhausted |
|
553 |
raise Exception("shouldn't happen") |
|
552 |
else: |
|
553 |
m = "Formal arguments exhausted" |
|
554 |
raise AssertionError(m) |
|
554 | 555 |
canonified[key] = kw[key].check(v) |
555 | 556 |
|
556 | 557 |
return canonified |
Also available in: Unified diff