X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=bin%2Ficonvx.py;fp=bin%2Ficonvx.py;h=d3c20d10ecff2ee0e5ceaec72e2943cc8ee5b782;hp=9352e73bd5f2e6829f8a162028ba06a7a379de0c;hb=f0344023aa21ede3b47d77559af54b97c37f328b;hpb=c5883d2a782366c0a3468a989e756cf37dabbd46 diff --git a/bin/iconvx.py b/bin/iconvx.py index 9352e73..d3c20d1 100755 --- a/bin/iconvx.py +++ b/bin/iconvx.py @@ -16,10 +16,10 @@ for option, value in options: if from_charset is None: - raise ValueError, "you must use -f param to name source charset" + raise ValueError("you must use -f param to name source charset") if to_charset is None: - raise ValueError, "you must use -t param to name destination charset" + raise ValueError("you must use -t param to name destination charset") import tempfile, os, shutil