changeset 76 | e6a35b0f853c |
parent 74 | 9d2ae2841bf2 |
child 79 | 3a58a95fae2f |
75:5af89523a9d3 | 76:e6a35b0f853c |
---|---|
1 #!/usr/bin/env python |
|
2 # Copyright 2008-2009 LShift Ltd |
|
3 |
|
4 # WARNING |
|
5 # This script completely destroys your ~/.ssh/authorized_keys |
|
6 # file every time it is run |
|
7 # WARNING |
|
8 |
|
9 import sys |
|
10 from mercurialserver import refreshauth |
|
11 |
|
12 if len(sys.argv) != 1: |
|
13 sys.stderr.write("refresh-auth: must be called with no arguments (%s)\n" % sys.argv) |
|
14 sys.exit(-1) |
|
15 |
|
16 refreshauth.refreshAuth() |