Skip to content
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
Open
@pajuscz

Description

@pajuscz

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions