X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_lib%2Fflad%2Ffladc.py;h=d30aa445dca8b460b1c8b8a61fa2f29cd83fb647;hb=e75d2c94f9bd326ebaace635a06599a1be35b024;hp=6fd2f607cf19ebbe619b57764640887bee135406;hpb=87ed070d1b1776366d3ddd15eef1f37a45c585ea;p=m_lib.git diff --git a/m_lib/flad/fladc.py b/m_lib/flad/fladc.py index 6fd2f60..d30aa44 100644 --- a/m_lib/flad/fladc.py +++ b/m_lib/flad/fladc.py @@ -35,7 +35,7 @@ class Flad_Conf(dict): db.load_file(f) if len(db) != 1: - raise error, "incorrect number of records in config file `%s'; expected 1, got %d" % (str(f), len(db)) + raise error("incorrect number of records in config file `%s'; expected 1, got %d" % (str(f), len(db))) self.data = db[0] @@ -45,7 +45,7 @@ class Flad_Conf(dict): db.load_from_file(f) if len(db) != 1: - raise error, "incorrect number of records in config file `%s'; expected 1, got %d" % (str(f), len(db)) + raise error("incorrect number of records in config file `%s'; expected 1, got %d" % (str(f), len(db))) self.data = db[0]