Skip to content

Commit

Permalink
Fix typo in FuzzyDateTime (Closes #189).
Browse files Browse the repository at this point in the history
Thanks to @shinuza for spotting this!
  • Loading branch information
rbarrois committed Mar 26, 2015
1 parent 6b9a2b5 commit 40d4a4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factory/fuzzy.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ def _now(self):
def _check_bounds(self, start_dt, end_dt):
if start_dt.tzinfo is None:
raise ValueError(
"FuzzyDateTime only handles aware datetimes, got start=%r"
"FuzzyDateTime requires timezone-aware datetimes, got start=%r"
% start_dt)
if end_dt.tzinfo is None:
raise ValueError(
"FuzzyDateTime only handles aware datetimes, got end=%r"
"FuzzyDateTime requires timezone-aware datetimes, got end=%r"
% end_dt)
super(FuzzyDateTime, self)._check_bounds(start_dt, end_dt)

0 comments on commit 40d4a4b

Please sign in to comment.