From 0ac3f7ff39ef36a90011fbae9ab5392a7d97d093 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 18 Dec 2007 01:14:14 -0800 Subject: Fix tabs for spaces. --- gitosis/ssh.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gitosis/ssh.py') diff --git a/gitosis/ssh.py b/gitosis/ssh.py index 0d2d87f..fb15969 100644 --- a/gitosis/ssh.py +++ b/gitosis/ssh.py @@ -46,16 +46,16 @@ def generateAuthorizedKeys(keys): Genarate the lines for the Gitosis ~/.ssh/authorized_keys. """ TEMPLATE = ('command="gitosis-serve %(user)s",no-port-forwarding,' - +'no-X11-forwarding,no-agent-forwarding,no-pty %(key)s') + +'no-X11-forwarding,no-agent-forwarding,no-pty %(key)s') yield COMMENT for (user, key) in keys: yield TEMPLATE % dict(user=user, key=key) _COMMAND_RE = re.compile('^command="(/[^ "]+/)?gitosis-serve [^"]+",' - +'no-port-forwarding,no-X11-forwarding,' - +'no-agent-forwarding,no-pty' - +' .*') + +'no-port-forwarding,no-X11-forwarding,' + +'no-agent-forwarding,no-pty' + +' .*') def filterAuthorizedKeys(fp): """ -- cgit v1.2.3