environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/handlers.py
def authenticate_unless_readonly(f, self, *args, **kwargs):
    """authenticate this page *unless* readonly view is active.
    
    In read-only mode, the notebook list and print view should
    be accessible without authentication.
    """
    
    @web.authenticated
    def auth_f(self, *args, **kwargs):
        return f(self, *args, **kwargs)

    if self.application.read_only:
        return f(self, *args, **kwargs)
    else:
        return auth_f(self, *args, **kwargs)
def authenticate_unless_readonly(f, self, *args, **kwargs):
    """authenticate this page *unless* readonly view is active.
    
    In read-only mode, the notebook list and print view should
    be accessible without authentication.
    """
    
    @web.authenticated
    def auth_f(self, *args, **kwargs):
        return f(self, *args, **kwargs)

    if self.application.read_only:
        return f(self, *args, **kwargs)
    else:
        return auth_f(self, *args, **kwargs)
def authenticate_unless_readonly ( f , self , * args , * * kwargs ) : @ web . authenticated def auth_f ( self , * args , * * kwargs ) : return f ( self , * args , * * kwargs ) if self . application . read_only : return f ( self , * args , * * kwargs ) else : return auth_f ( self , * args , * * kwargs )
authenticate this page *unless* readonly view is active.
    
    In read-only mode, the notebook list and print view should
    be accessible without authentication.
authenticate this page * unless * readonly view is active . In read - only mode the notebook list and print view should be accessible without authentication .