Commits

jordilin  committed 6edaffc

removed variable not used

  • Participants
  • Parent commits 5579707

Comments (0)

Files changed (1)

File log4client/src/log4tailer/reporting.py

 # along with Log4Tailer.  If not, see <http://www.gnu.org/licenses/>.
 
 from time import time, localtime, strftime
-import TermColorCodes, Timer
+from log4tailer import TermColorCodes, Timer
 import datetime
 
 MAIL = 'mail'
     def __get_now(self):
         return strftime("%d %b %Y %H:%M:%S", localtime())
 
-    def update(self,message,log):
+    def update(self, message, log):
         messageLevel = message.messageLevel
-        plainmessage,logpath = message.getPlainMessage()
+        plainmessage, _ = message.getPlainMessage()
         isTarget = message.isATarget()
         logPath = log.path
         logKey = self.logsReport[logPath]