Skip to content

Can't activate plugin with python 2.5.1 #13

@carlivar

Description

@carlivar

When trying to activate plugin, gedit says:

File "/usr/home/cijohnson/.gnome2/gedit/plugins/CMYKProjectManager/simple_tree_parser.py", line 23
class TreeParser():
^
SyntaxError: invalid syntax

I guess older python doesn't like the empty parantheses? I changed the line to:

class TreeParser:

...and now it works fine.

% python --version
Python 2.5.1

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