Minor cosmetic

This commit is contained in:
Crista Lopes
2013-12-26 09:09:45 -08:00
parent da947d1b2c
commit ceddce9a74

View File

@@ -20,9 +20,8 @@ class EventManager:
for h in self._subscriptions[event_type]:
h(event)
#
# The "agents"
# The application entities
#
class DataStorage:
""" Models the contents of the file """
@@ -39,7 +38,6 @@ class DataStorage:
self._data = pattern.sub(' ', self._data).lower()
def produce_words(self, event):
""" Yields the list words in storage, one word at a time """
data_str = ''.join(self._data)
for w in data_str.split():
self._event_manager.publish(('word', w))