From b8b1a9314c6be84c1f1fd470aea489966cc735ff Mon Sep 17 00:00:00 2001 From: Alexander Riccio Date: Mon, 10 Feb 2014 02:50:49 -0500 Subject: [PATCH] renamed _recurse_to_list Now accurately reflects the actual nature of the function. --- termsaverlib/screen/base/filereader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/termsaverlib/screen/base/filereader.py b/termsaverlib/screen/base/filereader.py index 0827d9a..577252d 100644 --- a/termsaverlib/screen/base/filereader.py +++ b/termsaverlib/screen/base/filereader.py @@ -267,7 +267,7 @@ def _recurse_to_exec(self, path, func, filetype=''): # return @staticmethod - def _recurse_to_list(self, queueOfValidFiles, path, filetype=''): + def recursivelyPopulateQueue(self, queueOfValidFiles, path, filetype=''): """ Populates an (empty) queue of all files within directory in "path", with the paths to said files @@ -345,5 +345,5 @@ def __init__(self, fileReaderInstance, queueOfValidFiles, pathToScan): self.__fileReaderInstance = fileReaderInstance def run(self): """thread begins executing this function on call to aThreadObject.start()""" - #file_queue = FileReaderBase._recurse_to_list(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan) - FileReaderBase._recurse_to_list(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan) + #file_queue = FileReaderBase.recursivelyPopulateQueue(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan) + FileReaderBase.recursivelyPopulateQueue(self.__fileReaderInstance, self.__queueOfValidFiles, self.__pathToScan)