Redo reindent.
@@ -576,14 +576,11 @@ class DialogData(object):
elif last_cands and entry[3] is last_cands:
# if cands are shared, say "same" so we
# don't store them again
- new_entry.append(
- sys.intern('same as last time'))
- elif (hasattr(entry[3], '__iter__') and
- type(entry[3]) is not str):
+ new_entry.append(sys.intern('same as last time'))
+ elif hasattr(entry[3], '__iter__') and type(entry[3]) is not str:
# make sure iterable over candidates, not single string
last_cands = entry[3]
- new_entry.append(tuple(
- sys.intern(e) for e in entry[3]))
+ new_entry.append(tuple(sys.intern(e) for e in entry[3]))
else:
raise TypeError(
'Must provide iterable over label candidates, '
