def log(msg, **kwargs):
    """Emit log message to stderr."""
    sys.stdout.flush()
    sys.stderr.write("webdav: " + (msg % kwargs) + "\n")
    sys.stderr.flush()
dataset/ETHPy150Open jhermann/artifactory-debian/dput-webdav/webdav.py/log/original