Show More
@@ -868,7 +868,7 b' def flatten(context, mapping, thing):' | |||||
868 | yield i |
|
868 | yield i | |
869 | elif i is None: |
|
869 | elif i is None: | |
870 | pass |
|
870 | pass | |
871 |
elif not util.safehasattr(i, |
|
871 | elif not util.safehasattr(i, '__iter__'): | |
872 | yield pycompat.bytestr(i) |
|
872 | yield pycompat.bytestr(i) | |
873 | else: |
|
873 | else: | |
874 | for j in flatten(context, mapping, i): |
|
874 | for j in flatten(context, mapping, i): |
General Comments 0
You need to be logged in to leave comments.
Login now