dblink._elog_process: preserve empty lines
authorZac Medico <zmedico@gentoo.org>
Wed, 5 Oct 2011 04:27:03 +0000 (21:27 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 5 Oct 2011 04:27:03 +0000 (21:27 -0700)
pym/portage/dbapi/vartree.py

index 50fa6f5ac45810ef8bd70dd6981798fba0b50d8a..1fc95a39b15939926b36c2ebabcf992772ec9ddb 100644 (file)
@@ -3126,8 +3126,6 @@ class dblink(object):
                                                lines = [lines]
                                        for line in lines:
                                                for line in line.split('\n'):
-                                                       if not line:
-                                                               continue
                                                        fields = (funcname, phase, cpv, line)
                                                        str_buffer.append(' '.join(fields))
                                                        str_buffer.append('\n')