Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on 2.4 #8

Open
KrisBuytaert opened this issue Aug 30, 2012 · 2 comments
Open

Doesn't work on 2.4 #8

KrisBuytaert opened this issue Aug 30, 2012 · 2 comments

Comments

@KrisBuytaert
Copy link

On a RHEL 5 box with Python 2.4 I run into the following error

File "/usr/lib64/nagios/plugins/check_graphite", line 85
values = map(lambda x: 0.0 if x == 'None' else float(x), values)
^
SyntaxError: invalid syntax

@nicolaskruchten
Copy link
Contributor

Hmm, that's not great. I don't have any machine with 2.4 on it at the moment so I can't really help you. Basically this has only been tested on Python 2.7 so I'm not sure at which version this starts being valid syntax :(

@KrisBuytaert
Copy link
Author

Workaround is to install python26 next to pyton on EL5 boxen. The package is available in EPEL.
However that's not a workaround for everybody..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants