From a41b63f8841e7b5e804c0b328e90cd22f731cb72 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 3 Sep 2015 08:22:02 +0200 Subject: typo --- src/isodate/duration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isodate/duration.py b/src/isodate/duration.py index a901865..5408315 100644 --- a/src/isodate/duration.py +++ b/src/isodate/duration.py @@ -216,7 +216,7 @@ class Duration(object): months=self.months * other) newduration.tdelta = self.tdelta * other return newduration - raise TypeError('unsupported operand type(s) for +: %s and %s' % + raise TypeError('unsupported operand type(s) for *: %s and %s' % (self.__class__, other.__class__)) def __rmul__(self, other): @@ -227,7 +227,7 @@ class Duration(object): months=self.months * other) newduration.tdelta = self.tdelta * other return newduration - raise TypeError('unsupported operand type(s) for +: %s and %s' % + raise TypeError('unsupported operand type(s) for *: %s and %s' % (other.__class__, self.__class__)) def __sub__(self, other): -- cgit v1.2.1