Re: [PATCH] supybot-fedora: add mirroradmins command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And with a fix already.  I should sleep.

>From 1d136e850fb9287dcca9812eb3960d2f8bf71211 Mon Sep 17 00:00:00 2001
From: Matt Domsch <Matt_Domsch@xxxxxxxx>
Date: Mon, 16 Nov 2009 23:59:20 -0600
Subject: [PATCH] fix mirroradmins command

---
 plugin.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugin.py b/plugin.py
index d40683b..5845afd 100644
--- a/plugin.py
+++ b/plugin.py
@@ -383,7 +383,8 @@ class Fedora(callbacks.Plugin):
         if len(result) == 0:
             irc.reply('Hostname "%s" not found' % hostname)
             return
-        string = 'Mirror Admins of %s: ' + ' '.join(result)
+        string = 'Mirror Admins of %s: ' % hostname
+        string += ' '.join(result)
         irc.reply(string.encode('utf-8'))
     mirroradmins = wrap(mirroradmins)
 
-- 
1.6.5.2

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux