Sandro Bonazzola has posted comments on this change.

Change subject: network: firewalld: avoid error if not available
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File src/plugins/otopi/network/firewalld.py
Line 139:         priority=plugin.Stages.PRIORITY_FIRST,
Line 140:     )
Line 141:     def _customization(self):
Line 142:         if self.services.exists('firewalld'):
Line 143:             self._firewalld_version = 
self._get_firewalld_cmd_version()
it's initialized to 0, and self._enabled will be set to False so it will not be 
used anyway.
Line 144:         self._enabled = self.environment[
Line 145:             constants.NetEnv.FIREWALLD_AVAILABLE
Line 146:         ] = (
Line 147:             self.services.exists('firewalld') and


-- 
To view, visit http://gerrit.ovirt.org/16397
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6a2617b7b2313e267096ba0b6e878530c97a058e
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Alex Lourie <alou...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgold...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to