Mercurial > hg > TagInTheMiddle
changeset 8:fc3491dfe374
correct function signature for reading tags file
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 05 May 2010 22:16:25 -0700 |
parents | 52208e38e5b3 |
children | 12344c001831 |
files | taginthemiddle/model.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/taginthemiddle/model.py Wed May 05 22:13:36 2010 -0700 +++ b/taginthemiddle/model.py Wed May 05 22:16:25 2010 -0700 @@ -27,11 +27,10 @@ self.tags = {} self.urls = {} self.times = {} - self.read(path) - + self.read() def read(self): - for line in file(path).readlines(): + for line in file(self.path).readlines(): line = line.strip() if not line: continue