aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2020-05-06 01:37:09 -0400
committerJohn Kacur <jkacur@redhat.com>2020-05-06 01:37:09 -0400
commit3059c4a512d3a3f4fb9f1dc29a9210cc018f88d2 (patch)
treed7c4c2823944f72b309b3a93b349210ea68c4462
parent761741d15d08e6ea420b55c9b26b203edc5e9531 (diff)
downloadrteval-3059c4a512d3a3f4fb9f1dc29a9210cc018f88d2.tar.gz
rteval: rteval/Log.py: Some style changes suggested from pylint-3
Some style changes suggested from pylint-3 Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--rteval/Log.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/rteval/Log.py b/rteval/Log.py
index 66aa77a..63ca3b8 100644
--- a/rteval/Log.py
+++ b/rteval/Log.py
@@ -24,13 +24,13 @@
import sys
-class Log(object):
- NONE = 0
+class Log:
+ NONE = 0
ALWAYS = 0
- INFO = 1<<0
- WARN = 1<<1
- ERR = 1<<2
- DEBUG = 1<<3
+ INFO = 1<<0
+ WARN = 1<<1
+ ERR = 1<<2
+ DEBUG = 1<<3
def __init__(self, logfile=None):
@@ -106,4 +106,3 @@ def unit_test(rootdir):
if __name__ == '__main__':
unit_test(None)
-