X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Ficonvx.py;h=d3c20d10ecff2ee0e5ceaec72e2943cc8ee5b782;hb=7c8abf339f6f103cf25d5f6c0d80bc6ae8ed75b6;hp=9352e73bd5f2e6829f8a162028ba06a7a379de0c;hpb=f46bd4d41cc7f243bc8a321effee5200aa69e709;p=dotfiles.git 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