File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -265,9 +265,7 @@ class Schema(ma.Schema):
265265 api_timeout = RequestsTimeout (load_default = (5.0 , 10.0 ))
266266 restrict_to = ma .fields .Dict (
267267 keys = ma .fields .String (),
268- values = ma .fields .List (
269- ma .fields .String (allow_none = True ), allow_none = True
270- ),
268+ values = ma .fields .List (ma .fields .String (), allow_none = True ),
271269 load_default = None ,
272270 allow_none = True ,
273271 )
@@ -342,7 +340,7 @@ def _check_restricted_to(self) -> None:
342340 ) from None
343341 if rest_repos and self .repo not in rest_repos :
344342 raise Unauthorized (
345- f"Unauthorized GitHub repository '{ self .repo } '"
343+ f"Unauthorized GitHub repository '{ self .org } / { self . repo } '"
346344 )
347345
348346 def __enter__ (self ) -> "CallContext" :
You can’t perform that action at this time.
0 commit comments