[patch] 0001-fix-typo-of-s-module_module-minion_module.patch

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

 





Looks like in a refactoring of server.py a typo was introduced. This fixes
it.


>From 67f85d48becc96bc27573043c32303f9e2dbe105 Mon Sep 17 00:00:00 2001
From: Adrian Likins <alikins@xxxxxxxxxx>
Date: Tue, 18 May 2010 12:38:51 -0400
Subject: [PATCH 1/2] fix typo of s/module_module/minion_module

---
 func/minion/server.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/func/minion/server.py b/func/minion/server.py
index 9a81168..5f217d7 100644
--- a/func/minion/server.py
+++ b/func/minion/server.py
@@ -145,7 +145,7 @@ class XmlRpcInterface(object):
             method_module = string.join(method_bits[:-1], '.')
             method_name = method_bits[-1]
             if method_module in inventory:
-                inventory[module_module].append(method_name)
+                inventory[method_module].append(method_name)
 
         return inventory
 
-- 
1.6.2.5

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux