46 lines
947 B
Diff
46 lines
947 B
Diff
From 3059c4a512d3a3f4fb9f1dc29a9210cc018f88d2 Mon Sep 17 00:00:00 2001
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Wed, 6 May 2020 01:37:09 -0400
|
|
Subject: [PATCH 05/17] 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>
|
|
---
|
|
rteval/Log.py | 13 ++++++-------
|
|
1 file changed, 6 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/rteval/Log.py b/rteval/Log.py
|
|
index 66aa77a59431..63ca3b8681f8 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)
|
|
-
|
|
--
|
|
2.21.3
|
|
|