Alon Bar-Lev has posted comments on this change. Change subject: core: filetransaction: Always add a newline ......................................................................
Patch Set 1: (1 comment) .................................................... File src/otopi/filetransaction.py Line 141: super(FileTransaction, self).__init__() Line 142: self._name = name Line 143: Line 144: if isinstance(content, list) or isinstance(content, tuple): Line 145: self._content = '\n'.join(content) + '\n' this will create new line when file is empty. Line 146: else: Line 147: self._content = str(content) Line 148: if not self._content.endswith('\n'): Line 149: self._content += '\n' -- To view, visit http://gerrit.ovirt.org/18690 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I97f0feef1c003250c9f7453245f68398c64051cd Gerrit-PatchSet: 1 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com> Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches