Commit b125007
committed
Makes S3DataGrabber change all paths from s3 to local
Previously, S3DataGrabber checked if outputs were lists or strings,
and changed them in those cases. However, if output was a unicode,
then it went unchanged. That's clearly not what we want, so we now
change in all cases: iterating through all values of output if it has
__iter__ attribute (is list-like), and using the value as the path if
it doesn't.1 parent 6a8f6d6 commit b125007
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
664 | 667 | | |
665 | | - | |
666 | | - | |
| 668 | + | |
| 669 | + | |
667 | 670 | | |
668 | 671 | | |
669 | 672 | | |
| |||
0 commit comments