Commit 5c2fa70
authored
Fix the type annotation in pub.py. (#814)
In particular, Python 3.11 on RHEL-9 doesn't seem to
like the pipe syntax for an optional argument. But
we have the Optional marking available from typing,
so switch to that instead.
Signed-off-by: Chris Lalancette <[email protected]>1 parent 57c11d3 commit 5c2fa70
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments