--> -->
 
 
<type 'exceptions.AttributeError'>
Python 2.7.3: /usr/local/bin/python
Tue Jun 18 15:58:20 2013

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

 /usr/websites/jhformyhome/siding-hardietrim-trim-boards.py in ()
    544 templateParams["sajaxJS"] = """<script type="text/javascript"><!-- %s // --></script>""" %sajaxJS
    545 templateParams["products"] = products
=>  546 if search_zipcode.startswith("retail"):
    547         templateParams["zipcode"] = ""
    548 else:
search_zipcode = None, search_zipcode.startswith undefined

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'startswith'
      args = ("'NoneType' object has no attribute 'startswith'",)
      message = "'NoneType' object has no attribute 'startswith'"