8000 "timeout" option is an int, not a bool · python-gitlab/python-gitlab@2d48e71 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d48e71

Browse files
author
Gauvain Pocentek
committed
"timeout" option is an int, not a bool
1 parent 990eeca commit 2d48e71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,11 @@ except:
327327
pass
328328

329329
try:
330-
timeout = config.getboolean('global', 'timeout')
330+
timeout = config.getint('global', 'timeout')
331331
except:
332332
pass
333333
try:
334-
timeout = config.getboolean(gitlab_id, 'timeout')
334+
timeout = config.getint(gitlab_id, 'timeout')
335335
except:
336336
pass
337337

0 commit comments

Comments
 (0)
0