## If we've been this way before on another pass through then return
## the value we found then. If we're still thinking about it then
## we've found a cycle.
- try:
- threadp, value = map[sec]
- except KeyError:
- pass
+ try: threadp, value = map[sec]
+ except KeyError: pass
else:
- if threadp:
- raise InheritanceCycleError(key, path[:])
+ if threadp: raise InheritanceCycleError(key, path[:])
## See whether the answer is ready waiting for us.
- try:
- v = CP.RawConfigParser.get(me, sec, key)
- except CP.NoOptionError:
- pass
- else:
- return v, path[:]
+ try: v = CP.RawConfigParser.get(me, sec, key)
+ except CP.NoOptionError: pass
+ else: return v, path[:]
## No, apparently, not. Find out our list of parents.
try: