Mercurial > mozilla > hg > licenser
comparison licenser/licenses.py @ 23:ba47f936e9f6
remove unneeded argument
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 24 Nov 2011 15:11:31 -0800 |
parents | 9db63b0119de |
children | d3e3a506dd29 |
comparison
equal
deleted
inserted
replaced
22:9db63b0119de | 23:ba47f936e9f6 |
---|---|
122 # print the rest of the file | 122 # print the rest of the file |
123 for line in lines: | 123 for line in lines: |
124 f.write(line) | 124 f.write(line) |
125 f.close() | 125 f.close() |
126 | 126 |
127 def isempty(self, path): | 127 def isempty(self): |
128 """ | 128 """ |
129 determines if a file is empty; that is, contains only comments | 129 determines if a file is empty; that is, contains only comments |
130 """ | 130 """ |
131 for line in self.lines(): | 131 for line in self.lines(): |
132 line = line.strip() | 132 line = line.strip() |