aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/misc/cfg.py
diff options
context:
space:
mode:
authorJ08nY2021-01-05 00:44:14 +0100
committerJ08nY2021-01-05 00:44:14 +0100
commit9a3bc0379b5033e03dec6473fa645c4bf1770105 (patch)
treec3782efe50632c9f8286c24e400ab21dc398ba2f /pyecsca/misc/cfg.py
parent8ad589af29138edc9ad9fe1ff649c8c7743981b3 (diff)
downloadpyecsca-9a3bc0379b5033e03dec6473fa645c4bf1770105.tar.gz
pyecsca-9a3bc0379b5033e03dec6473fa645c4bf1770105.tar.zst
pyecsca-9a3bc0379b5033e03dec6473fa645c4bf1770105.zip
Fix type-checking, codestyle and update EFD.
Diffstat (limited to 'pyecsca/misc/cfg.py')
-rw-r--r--pyecsca/misc/cfg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/misc/cfg.py b/pyecsca/misc/cfg.py
index b1c4007..1c1d214 100644
--- a/pyecsca/misc/cfg.py
+++ b/pyecsca/misc/cfg.py
@@ -100,7 +100,7 @@ class ECConfig(object):
@mod_implementation.setter
def mod_implementation(self, value: str):
if value not in ("python", "gmp"):
- raise ValueError(f"Bad Mod implementaiton, can be one of 'python' or 'gmp'.")
+ raise ValueError("Bad Mod implementaiton, can be one of 'python' or 'gmp'.")
self._mod_implementation = value
@@ -142,4 +142,4 @@ class TemporaryConfig(object):
return self.new_config
def __exit__(self, t, v, tb):
- resetconfig(self.token) \ No newline at end of file
+ resetconfig(self.token)