[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-39-g07c765e

Ritesh Raj Sarraf rrs at researchut.com
Tue Mar 16 19:40:41 UTC 2010


The following commit has been merged in the master branch:
commit 07c765ef9107ec99aabc4e136cb2efa596128135
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Wed Mar 17 01:10:12 2010 +0530

    rename function to something more appropriate

diff --git a/apt_offline_core/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py
index 428a82d..8a216e6 100644
--- a/apt_offline_core/AptOfflineCoreLib.py
+++ b/apt_offline_core/AptOfflineCoreLib.py
@@ -523,7 +523,7 @@ def fetcher( args ):
                 log.msg("WARNING: Else higher number of threads executed could cause\n")
                 log.msg("WARNING: network congestion and timeouts.\n\n")
         
-        def abc(request, response, func=find_first_match):
+        def DataFetcher(request, response, func=find_first_match):
                 '''Get items from the request Queue, process them
                 with func(), put the results along with the
                 Thread's name into the response Queue.
@@ -744,7 +744,7 @@ def fetcher( args ):
         responseQueue = Queue.Queue()
         
         
-        ConnectThread = AptOfflineLib.MyThread(abc, requestQueue, responseQueue, Int_NumOfThreads)
+        ConnectThread = AptOfflineLib.MyThread(DataFetcher, requestQueue, responseQueue, Int_NumOfThreads)
         
         ConnectThread.startThreads()
         

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list