Hi,
I made a little change in mxw, in order to have, in git clone url,
user's nickname lowercase.
I prefer to have your ack before pushing it.
Git patch is attached.
Regards,
Anthony
>From e3f704719b193c673b716b47747f9b725f293495 Mon Sep 17 00:00:00 2001
From: Pingax <[email protected]>
Date: Sat, 23 Feb 2013 16:10:35 +0100
Subject: [PATCH] * Add .lower() to username for git cloning announce
---
events.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/events.py b/events.py
index 86f0e4b..6e3151b 100644
--- a/events.py
+++ b/events.py
@@ -820,7 +820,7 @@ def git(c, source, target, argv, anon=False, ret=False):
else:
local = ""
if not anon:
- c.privmsg(target, "%s: git clone %[email protected]:%s %s" % (source, source, path, local))
+ c.privmsg(target, "%s: git clone %[email protected]:%s %s" % (source, source.lower(), path, local))
else:
if not ret:
c.privmsg(target, "%s: git clone http://frugalware.org/git%s %s" % (source, path, local))
--
1.8.1.4
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel