X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fparser.py;h=86dfe3c8700c771728cfcdab60ff92953c6a278e;hp=b2e078b739a5153596f91fbb0af1c59ffd4aad3b;hb=43c03b517877aef0df8eb909d23109e401532cb5;hpb=b30fa963e166c9ac819611aa3b71816052cbcae6 diff --git a/bulletml/parser.py b/bulletml/parser.py index b2e078b..86dfe3c 100644 --- a/bulletml/parser.py +++ b/bulletml/parser.py @@ -774,7 +774,7 @@ class BulletML(object): else: try: return yaml.load(source) - except Exception, exc: + except Exception as exc: raise ParseError(str(exc)) @classmethod