-
Notifications
You must be signed in to change notification settings - Fork 75
SyntaxError: invalid syntax #6
Comments
Looks like you're running a pretty old Python version. I'm guessing <= 2.4. Is that right? |
Yep: Python 2.4.3 (#1, Jul 27 2009, 17:56:30) |
Ah, RHEL. I knew it :) I'd rather not have to support 2.4.x as even the RHEL devs have moved to 2.6 now. But knowing how long it takes for users to upgrade I may as well do this. Meh, I'll see if I can get to it but I'll have to dig up an old machine with Python 2.4 first. |
Well its Centos 5, and its our base img in our NOC... a fix would be ideal, thanks |
Damn. I forgot about CentOS. Anyway, I've already made a start on this but have noticed some hairy issues with the tests. I'll fix those first before making a start on Python 2.4 support. |
Alright, I think I've got it working in dba0d83. It's not fully tested and is still very experimental. Test it out and let me know if I broke anything. |
Looks good! Thanks! John |
I get this when I try to use vcprompt
[code]
File "/usr/bin/vcprompt", line 284
with open(file, 'r') as f:
^
SyntaxError: invalid syntax
[/code]
The text was updated successfully, but these errors were encountered: