Skip to content

Commit b4eff0b

Browse files
author
Gonchik Tsymzhitov
committed
Adjust the util.py for the cookie management
1 parent 7a33ddf commit b4eff0b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.0
1+
2.6.0

atlassian/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,5 +332,8 @@ def parse_cookie_file(cookie_file):
332332
for line in fp:
333333
if not re.match(r"^(#|$)", line):
334334
line_fields = line.strip().split("\t")
335-
cookies[line_fields[5]] = line_fields[6]
335+
try:
336+
cookies[line_fields[5]] = line_fields[6]
337+
except IndexError as e:
338+
log.error(e)
336339
return cookies

0 commit comments

Comments
 (0)