Commit 16d6fa1
committed
Fix normalization bug when return value is non-dict
The changes added in #557 assumed the return value of a function
will be a dictionary. In the current instrumentation, _get_catalog_dir
is the exception and returns the string in which case we need the change
that was originally present. This PR combines the two changes and allows
the decorator to process a non-dict return_value.1 parent 86b928f commit 16d6fa1
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
129 | | - | |
130 | | - | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
0 commit comments