def getdata(self):
        "return the python objected associated or None in case of expiration"
        exp = self.sessiondb.get('expiration_date', None)
        if not exp:
            return None
        if type(exp) is datetime.datetime:
            expdate = exp
        elif type(exp) in (str, unicode):
            expdate = datetime.datetime.fromtimestamp(time.mktime(time.strptime(exp, self.datetime_fmt)))
        else:
            raise ValueError("expiration_Date must be a datetime object or a string (%s)" % self.datetime_fmt)
        if datetime.datetime.now() < expdate:
            #expired
            return None
        else:
            if self.sessiondb['strdata']:
                strdata = str(self.sessiondb['strdata'])
                data = pickle.loads(strdata)
                return data
            else:
                return None
dataset/ETHPy150Open baseblack/ReproWeb/3rdParty/python/fapws/contrib/sessions.py/Session.getdata/swapped operands of `<`