From 995e6d7e1344ad95d6d45ad7ba97a7436cfe81cd Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 2 Dec 2010 12:41:14 +0100 Subject: [PATCH] Fixed pylint errors in base.py --- src/pylorax/base.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pylorax/base.py b/src/pylorax/base.py index 3ee7bccd..38d31fd3 100644 --- a/src/pylorax/base.py +++ b/src/pylorax/base.py @@ -33,20 +33,20 @@ class BaseLoraxClass(object): def __init__(self): self.output = output.LoraxOutput() - def pcritical(self, msg, file=sys.stdout): - self.output.critical(msg, file) + def pcritical(self, msg, fobj=sys.stdout): + self.output.critical(msg, fobj) - def perror(self, msg, file=sys.stdout): - self.output.error(msg, file) + def perror(self, msg, fobj=sys.stdout): + self.output.error(msg, fobj) - def pwarning(self, msg, file=sys.stdout): - self.output.warning(msg, file) + def pwarning(self, msg, fobj=sys.stdout): + self.output.warning(msg, fobj) - def pinfo(self, msg, file=sys.stdout): - self.output.info(msg, file) + def pinfo(self, msg, fobj=sys.stdout): + self.output.info(msg, fobj) - def pdebug(self, msg, file=sys.stdout): - self.output.debug(msg, file) + def pdebug(self, msg, fobj=sys.stdout): + self.output.debug(msg, fobj) class DataHolder(dict):