Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Running apache_log_parser with python 2.6.6 #17

Description

@cassebas

Hi, I can't get the apache_log_parser to run under python 2.6.6 (I'm stuck on RHEL), I get a syntax error on line 69 of the parsers.py file. It appears to use syntax that wasn't used before python 2.7, e.g.:
(venv26) pythontest % python
Python 2.6.6 (r266:84292, Jul 13 2017, 16:49:51)
[GCC 7.1.1 20170621] on linux4
Type "help", "copyright", "credits" or "license" for more information.

ab = {'a','b'}
File "", line 1
ab = {'a','b'}
^
SyntaxError: invalid syntax

thnxs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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