utils: Add class to split string stream into lines
authorMichael Hanselmann <hansmi@google.com>
Thu, 15 Apr 2010 15:23:08 +0000 (17:23 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 15 Apr 2010 15:24:58 +0000 (17:24 +0200)
commit339be5a8385dcdb58e85cd1385102a80f4829a11
treeecf9f0a55be2096b6044e95ec45dfc7cd593055e
parent0e3baaf3f17d16869f22d7c9ecba5f2afa916449
utils: Add class to split string stream into lines

This will be used by the new import/export daemon to split
output by its child processes into lines.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/utils.py
test/ganeti.utils_unittest.py