def __init__(self, filename):
        lines = [line.strip() # Assumes end-of-line character is present
                 for line in open(filename)
                 if line.strip()] # Skip blank lines

        self.forceFirst = lines[lines.index("[first]") + 1:lines.index("[last]")]

        self.forceLast = lines[lines.index("[last]") + 1:lines.index("[include]")]
        self.include =  lines[lines.index("[include]") + 1:lines.index("[exclude]")]
        self.exclude =  lines[lines.index("[exclude]") + 1:]
Logout without next_page option renders the default template
dataset/ETHPy150Open sahana/eden/static/scripts/tools/mergejsmf.py/Config.__init__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/contrib/auth/tests/views.py/LogoutTest.test_logout_default