Skip to content

Invalid Syntax, Line 29 #1

Description

@SimplGy

Hi Adam. I know this is probably DIY territory, but what the hell, might as well try.

Running this in Windows with NPM, Cygwin, and a whole other mess installed.

When I run it (Python is installed and in the PATH), I get this message:

File "./git/hooks/pre-commit", line 29
  print error,
             ^
SyntaxError: invalid syntax

Never seen Python before, so these commas are odd to me.

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