X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=t%2Fmoe%2Fbox.py;h=dfb9282aa626123712f7aca76a69c3c0b016b327;hb=dbb3cc4764a4bba8dca262f63ed4eaa85543f588;hp=321eedd15fe585e0e49a0ad883f374970baf0ba1;hpb=dcc852db06f099b6c96b681c79832d41777da334;p=moe.git diff --git a/t/moe/box.py b/t/moe/box.py index 321eedd..dfb9282 100644 --- a/t/moe/box.py +++ b/t/moe/box.py @@ -21,7 +21,7 @@ def init(e): e.log.verbose("Sandbox directory: %s\n" % dir) e.log.verbose("Sandbox command: %s\n" % cmd) if dir == "" or not os.path.isdir(dir) or exe == "" or not os.path.isfile(exe): - raise moe.MoeErr, "Sandbox set up incorrectly" + raise moe.MoeError, "Sandbox set up incorrectly" def clean(e): moe.util.remove_tree_contents(e.cfgs["BOXDIR"]) @@ -44,7 +44,7 @@ def run(e, opts, cmd): if os.WIFEXITED(st): rc = os.WEXITSTATUS(st) if rc > 1: - raise moe.MoeErr, "Sandbox failed with rc=%d" % rc + raise moe.MoeError, "Sandbox failed with rc=%d" % rc return rc else: - raise moe.MoeErr, "Sandbox failed with exit status 0x%04x" % rc + raise moe.MoeError, "Sandbox failed with exit status 0x%04x" % rc