Show
Ignore:
Timestamp:
09/26/09 10:45:22 (3 years ago)
Author:
todd
Message:

fixed: htmlpage doctypes now a more comprehesive data structure;
updated: we now default to the HTML5 doctype;
updated: we now send charset in our headers and embed content-type in a meta-tag on the page;
remove: obsolete Controls directory

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Trunk/TurtolCMS/Storage/__init__.py

    r1372 r1373  
    220220    sessobj = None 
    221221    try: 
    222       sessobj = self.Q(Session).filter_by(Session.key=key).one() 
     222      sessobj = self.Q(Session).filter_by(Session.key==key).one() 
    223223    except MultipleResultsFound, e: 
    224224      # should never happen, if this code is right 
    225225      # but if it does, let's delete ALL these sessions 
    226       sesslist = sql.Q(Session).filter_by(Session.key=key).all() 
     226      sesslist = sql.Q(Session).filter_by(Session.key==key).all() 
    227227      for s in sesslist: 
    228228        self._session.delete (s)