Commit 76a1d70
committed
Fix: Branch Param As String
Branches should always be a `string`, otherwise tags like `21.12`
are parsed as floats, which leads to errors such as:
```
File "regression_testing/repo.py", line 38, in get_branch_name
return self.branch_wanted.strip("\"")
AttributeError: 'float' object has no attribute 'strip'
```1 parent d917426 commit 76a1d70
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments