changeset 126:d00f89a9f3c5

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 14:57:22 -0800
parents 9fb80d39af55
children 349ca811c017
files bitsyblog/parser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/parser.py	Tue Nov 03 14:55:44 2020 -0800
+++ b/bitsyblog/parser.py	Tue Nov 03 14:57:22 2020 -0800
@@ -290,7 +290,7 @@
         elif isinstance(info, parserinfo):
             self.info = info
         else:
-            raise TypeError, "Unsupported parserinfo type"
+            raise TypeError("Unsupported parserinfo type")
 
     def parse(self, timestr, default=None,
                     ignoretz=False, tzinfos=None,