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

« back to all changes in this revision

Viewing changes to doc/howto/tutorial/listings/finger/finger20.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:
219
219
 
220
220
    def __init__(self, filename):
221
221
        self.filename = filename
 
222
        self.users = {}
222
223
        self._read()
223
224
 
224
225
    def _read(self):
225
 
        self.users = {}
 
226
        self.users.clear()
226
227
        for line in file(self.filename):
227
228
            user, status = line.split(':', 1)
228
229
            user = user.strip()