diff options
Diffstat (limited to 'rpkid/rpki/sundial.py')
-rw-r--r-- | rpkid/rpki/sundial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/sundial.py b/rpkid/rpki/sundial.py index cb34778e..2293c1dc 100644 --- a/rpkid/rpki/sundial.py +++ b/rpkid/rpki/sundial.py @@ -210,7 +210,7 @@ class timedelta(pydatetime.timedelta): if match: return cls(**dict((k, int(v)) for (k, v) in match.groupdict().items() if v is not None)) else: - raise RuntimeError, "Couldn't parse timedelta %s" % repr(arg) + raise RuntimeError, "Couldn't parse timedelta %r" % (arg,) def convert_to_seconds(self): |