src/mercurialserver/refreshauth.py
changeset 242 03d8f07230b3
parent 213 72e7ba8b41a6
child 260 57dcdb212d00
equal deleted inserted replaced
241:4af1e1ccf75b 242:03d8f07230b3
     1 # Copyright 2008-2009 LShift Ltd
     1 """
     2 
     2 Rewrite ~/.ssh/authorized_keys by recursing through key directories
     3 # WARNING
     3 """
     4 # This hook completely destroys your ~/.ssh/authorized_keys
       
     5 # file every time it is run
       
     6 # WARNING
       
     7 
     4 
     8 import re
     5 import re
     9 import base64
     6 import base64
    10 import os
     7 import os
    11 import os.path
     8 import os.path