Sergey Gotliv has uploaded a new change for review. Change subject: engine: Fix PEP8 issues in exportfs.py ......................................................................
engine: Fix PEP8 issues in exportfs.py The Engine build is broken due to PEP8 issues after introducing Ia35aaf42cb46247a2a02df1c2418f4613ad6b965. Change-Id: I92386fbf8974bd9510ad83ecd05d554cbba06b34 Signed-off-by: Sergey Gotliv <[email protected]> --- M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py 1 file changed, 6 insertions(+), 5 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/54/22954/1 diff --git a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py index b3e0b68..4ad45c5 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py +++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py @@ -148,10 +148,11 @@ ) if self._conf == osetupcons.FileLocations.OVIRT_NFS_EXPORT_FILE: if exports_index is not None: - # This probably means that in a previous setup we added the path - # to /etc/exports instead of creating our own file in - # /etc/exports.d as we do now. Delete the line from /etc/exports. - # The transaction below does not pass modifiedList nor do we call + # This probably means that in a previous setup we added the + # path to /etc/exports instead of creating our own file in + # /etc/exports.d as we do now. Delete the line from + # /etc/exports. The transaction below does not pass + # modifiedList nor do we call # addChanges - we do not revert this fix on cleanup. del exports_content[exports_index] self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append( @@ -166,7 +167,7 @@ new_line, ] else: - changes = { 'added': new_line } + changes = {'added': new_line} if exports_index is not None: old_line = exports_content.pop(exports_index) changes['removed'] = old_line -- To view, visit http://gerrit.ovirt.org/22954 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I92386fbf8974bd9510ad83ecd05d554cbba06b34 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sergey Gotliv <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
