diff options
| author | Ray Ashman Jr <ray.ashman.jr@gmail.com> | 2013-11-02 19:53:29 -0400 |
|---|---|---|
| committer | Ray Ashman Jr <ray.ashman.jr@gmail.com> | 2013-11-02 19:53:29 -0400 |
| commit | e2ae8b048e7198428f696375b8bdcd89e90002d1 (patch) | |
| tree | 5788bd3c2a074e5c5c9f354db2e6e7ef1cbce2ad /django/utils/dateparse.py | |
| parent | 3bc0d46a840f17dce561daca8a6b8690b2cf5d0a (diff) | |
Correct flake8 E302 violations
Diffstat (limited to 'django/utils/dateparse.py')
| -rw-r--r-- | django/utils/dateparse.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/utils/dateparse.py b/django/utils/dateparse.py index 1e2cad7d01..f2c079023f 100644 --- a/django/utils/dateparse.py +++ b/django/utils/dateparse.py @@ -39,6 +39,7 @@ def parse_date(value): kw = dict((k, int(v)) for k, v in six.iteritems(match.groupdict())) return datetime.date(**kw) + def parse_time(value): """Parses a string and return a datetime.time. @@ -56,6 +57,7 @@ def parse_time(value): kw = dict((k, int(v)) for k, v in six.iteritems(kw) if v is not None) return datetime.time(**kw) + def parse_datetime(value): """Parses a string and return a datetime.datetime. |
