Hi,

I'm new to web.py and was trying to get it working this morning.  When
I ran test.py and the very simple code on http://webpy.org/, both
times I got the same "invalid syntax" error in http.py:

$ python code.py
Traceback (most recent call last):
  File "code.py", line 1, in ?
    import web
  File "/home/jms1/webpy/web/__init__.py", line 14, in ?
    import utils, db, net, wsgi, http, webapi, httpserver, debugerror
  File "/home/jms1/webpy/web/wsgi.py", line 8, in ?
    import http
  File "/home/jms1/webpy/web/http.py", line 46
    n = set(x.strip('" ') for x in web.ctx.env.get
('HTTP_IF_NONE_MATCH', '').split(','))
                            ^
SyntaxError: invalid syntax

I'm running Python 2.3.4, if that helps (maybe the version is too
old?).  Any help would be appreciated!

-Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to