~certify-web-dev/twisted/certify-staging

« back to all changes in this revision

Viewing changes to doc/howto/tutorial/listings/finger/finger19b.tac

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-01-02 19:38:17 UTC
  • mfrom: (2.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100102193817-jphp464ppwh7dulg
Tags: 9.0.0-1
* python-twisted: Depend on the python-twisted-* 9.0 packages.
* python-twisted: Depend on python-zope.interface only. Closes: #557781.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
 
213
213
    def __init__(self, filename):
214
214
        self.filename = filename
 
215
        self.users = {}
215
216
        self._read()
216
217
 
217
218
    def _read(self):
218
 
        self.users = {}
 
219
        self.users.clear()
219
220
        for line in file(self.filename):
220
221
            user, status = line.split(':', 1)
221
222
            user = user.strip()