--> -->
 
 
SyntaxError
Python 2.4.3: /usr/local/bin/python
Sat Sep 4 20:15:03 2010

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/zarneth/public_html/main.py
   12 from form import *
   13 
   14 import misc, layout, config, db, account
   15 
   16 #account.initaliseUser() #session tracking, logins etc handled here.
misc = <module 'misc' from '/home/zarneth/public_html/misc.pyc'>, layout = <module 'layout' from '/home/zarneth/public_html/layout.pyc'>, config = <module 'config' from '/home/zarneth/public_html/config.pyc'>, db undefined, account undefined

SyntaxError: invalid syntax (db.py, line 16)
      args = ('invalid syntax', ('/home/zarneth/public_html/db.py', 16, 19, 'except Exception as error:\n'))
      filename = '/home/zarneth/public_html/db.py'
      lineno = 16
      msg = 'invalid syntax'
      offset = 19
      print_file_and_line = None
      text = 'except Exception as error:\n'