~edwargix/git.sr.ht

f4a00a1941b6d0933dd1a48e99607a71a9028b5c — Drew DeVault 6 years ago 8a0c877
Use config.read_file() instead of .readfp

The latter is deprecated
1 files changed, 1 insertions(+), 1 deletions(-)

M git-srht-update-hook
M git-srht-update-hook => git-srht-update-hook +1 -1
@@ 26,7 26,7 @@ if op == "hooks/post-update":

    config = ConfigParser()
    with open("config") as f:
        config.readfp(f)
        config.read_file(f)

    repo_id = config.get("srht", "repo-id")
    if not repo_id: