Fixed typos in comments.
This commit is contained in:
parent
ca61195827
commit
0af4ddabf4
|
@ -238,7 +238,7 @@ class GeoIP(object):
|
|||
|
||||
@property
|
||||
def city_info(self):
|
||||
"Retuns information about the GeoIP city database."
|
||||
"Returns information about the GeoIP city database."
|
||||
if self._city is None:
|
||||
ci = 'No GeoIP City data in "%s"' % self._city_file
|
||||
else:
|
||||
|
|
|
@ -72,7 +72,7 @@ class HashedFilesMixin(object):
|
|||
|
||||
def file_hash(self, name, content=None):
|
||||
"""
|
||||
Retuns a hash of the file with the given name and optional content.
|
||||
Returns a hash of the file with the given name and optional content.
|
||||
"""
|
||||
if content is None:
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue