From 0af4ddabf4c89a9501e45373c52243010fa7fb82 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 8 Oct 2014 15:59:19 -0400 Subject: [PATCH] Fixed typos in comments. --- django/contrib/gis/geoip/base.py | 2 +- django/contrib/staticfiles/storage.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/gis/geoip/base.py b/django/contrib/gis/geoip/base.py index 9295030c97..08125e3615 100644 --- a/django/contrib/gis/geoip/base.py +++ b/django/contrib/gis/geoip/base.py @@ -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: diff --git a/django/contrib/staticfiles/storage.py b/django/contrib/staticfiles/storage.py index fbf5df2314..9046bb1d51 100644 --- a/django/contrib/staticfiles/storage.py +++ b/django/contrib/staticfiles/storage.py @@ -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