Commit 89ef9a4
committed
Refactor load_yajl
To reduce code duplication introduced by adding windows support in
commit 117166f.
List of file names is generated using a list comprehension so that
the unique windows file name can be appended. Consequently, the
list of file names can be iterated over and two separate cases are
not needed.1 parent 117166f commit 89ef9a4
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
| |||
0 commit comments