# HG changeset patch # User Jeff Hammel # Date 1604444308 28800 # Node ID 349ca811c0174c81c199b0e489995181dc2b19c2 # Parent d00f89a9f3c5a4e7e618f5005285903faa2adb2e py3 diff -r d00f89a9f3c5 -r 349ca811c017 bitsyblog/parser.py --- a/bitsyblog/parser.py Tue Nov 03 14:57:22 2020 -0800 +++ b/bitsyblog/parser.py Tue Nov 03 14:58:28 2020 -0800 @@ -300,7 +300,7 @@ second=0, microsecond=0) res = self._parse(timestr, **kwargs) if res is None: - raise ValueError, "unknown string format" + raise ValueError("unknown string format") repl = {} for attr in ["year", "month", "day", "hour", "minute", "second", "microsecond"]: