This repository was archived by the owner on Dec 27, 2018. It is now read-only.
This repository was archived by the owner on Dec 27, 2018. It is now read-only.
Syntax Error #13
Open
Description
I am using python 2.6.6 and I am getting syntax error using ConfluenceAPI in file api.py:
NEW_CONTENT_REQUIRED_KEYS = {"type", "title", "space", "body"}
^
SyntaxError: invalid syntax
Python 2.6.6 doesn't know the syntax for Set as ={1,2,3}
I needed to rewrite all Set constructions with {} syntax into:
NEW_CONTENT_REQUIRED_KEYS = Set(["type", "title", "space", "body"])
Metadata
Metadata
Assignees
Labels
No labels