src/refresh-auth
author Paul Crowley <paul@lshift.net>
Fri, 06 Mar 2009 13:26:35 +0000
changeset 77 8d14aac93b5d
parent 76 e6a35b0f853c
child 79 3a58a95fae2f
permissions -rwxr-xr-x
Most of the way through abolishing env vars

#!/usr/bin/env python
# Copyright 2008-2009 LShift Ltd

# WARNING
# This script completely destroys your ~/.ssh/authorized_keys
# file every time it is run
# WARNING

import sys
from mercurialserver import refreshauth

if len(sys.argv) != 1:
    sys.stderr.write("refresh-auth: must be called with no arguments (%s)\n" % sys.argv)
    sys.exit(-1)

refreshauth.refreshAuth()