Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/w/a/wakarimasen-HEAD/interboard.py   wakarimasen(Download)
def add_htaccess_entry(ip):
    htaccess = os.path.join(local.environ['DOCUMENT_ROOT'],
                            config.HTACCESS_PATH, '.htaccess')
 
    with util.FileLock(htaccess):
def remove_htaccess_entry(ip):
    ip = ip.replace('.', r'\.')
    htaccess = os.path.join(local.environ['DOCUMENT_ROOT'],
                            config.HTACCESS_PATH, '.htaccess')