Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: autoreg: improve commit 1ba124d
......................................................................

autoreg: improve commit 1ba124d

Fix import, return and declaration.

Change-Id: I940bda7385ef97e86d845fd7237009860272d58c
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M autoinstall/ovirt-node-plugin-vdsm-autoreg
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm 
refs/changes/25/42025/1

diff --git a/autoinstall/ovirt-node-plugin-vdsm-autoreg 
b/autoinstall/ovirt-node-plugin-vdsm-autoreg
index 302c6e0..a012fac 100644
--- a/autoinstall/ovirt-node-plugin-vdsm-autoreg
+++ b/autoinstall/ovirt-node-plugin-vdsm-autoreg
@@ -18,6 +18,8 @@
 # MA  02110-1301, USA.  A copy of the GNU General Public License is
 # also available at http://www.gnu.org/copyleft/gpl.html.
 import sys
+import logging
+
 import ovirtnode.ovirtfunctions as _functions
 
 from ovirt.node import log, utils
@@ -40,7 +42,7 @@
         self.mserver = None
         self.mserver_port = None
 
-    def _set_logger():
+    def _set_logger(self):
         """
         Set the logging schema
         """
@@ -50,6 +52,7 @@
         log.addHandler(
             journal.JournalHandler(SYSLOG_IDENTIFIER='ovirt-node-plugin-vdsm')
         )
+        return log
 
     def _is_karg_set(self, key, debug=True):
         """


-- 
To view, visit https://gerrit.ovirt.org/42025
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I940bda7385ef97e86d845fd7237009860272d58c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to