changeset 36274 | a748a5d1d7c3 |
parent 36248 | 0ef50a5e3ae1 |
child 36275 | 0cacd4df6eb0 |
36273:1ec6fd26f841 | 36274:a748a5d1d7c3 |
---|---|
540 for d in sorted(dirs): |
540 for d in sorted(dirs): |
541 |
541 |
542 emptydirs = [] |
542 emptydirs = [] |
543 h = dirs[d] |
543 h = dirs[d] |
544 while isinstance(h, dict) and len(h) == 1: |
544 while isinstance(h, dict) and len(h) == 1: |
545 k, v = h.items()[0] |
545 k, v = next(iter(h.items())) |
546 if v: |
546 if v: |
547 emptydirs.append(k) |
547 emptydirs.append(k) |
548 h = v |
548 h = v |
549 |
549 |
550 path = "%s%s" % (abspath, d) |
550 path = "%s%s" % (abspath, d) |