Remove unused flush from read_subunit()

The read_subunit module isn't writing anything so there isn't any
buffered data to flush. So, this commit just removes the flush() call.

Change-Id: I7c436b5c21ea11846eb0be8a608feecce37e82cf
This commit is contained in:
Matthew Treinish 2016-03-01 20:07:57 -05:00
parent c5020525ae
commit 928764312e
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -95,7 +95,6 @@ class ReadSubunit(object):
'metadata': metadata,
'attachments': attachment_dict
}
self.stream_file.flush()
def get_attrs(self, name):
matches = self.attr_regex.search(name)