From 08101b631dad11cfb9eded6163cbba1ec4464e46 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 26 Jan 2018 13:55:31 +0000 Subject: [PATCH] artiq_devtool: fix typo. --- artiq/frontend/artiq_devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_devtool.py b/artiq/frontend/artiq_devtool.py index d0283f61e..04b112728 100755 --- a/artiq/frontend/artiq_devtool.py +++ b/artiq/frontend/artiq_devtool.py @@ -157,7 +157,7 @@ def main(): elif action == "clean": logger.info("Cleaning build directory") - shutil.rmtree(build_dir, ignore_errors=True) + shutil.rmtree(build_dir(), ignore_errors=True) elif action == "reset": logger.info("Resetting device")