From 32a7bb73faf09af01a1b9930ac3dbd09e3178d37 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 25 Jun 2018 16:43:41 -0400 Subject: [PATCH] Remove debug prints --- libremanage | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libremanage b/libremanage index 280d1df..d274d80 100755 --- a/libremanage +++ b/libremanage @@ -62,15 +62,12 @@ def get_server_handle(name): return server def set_server_power(state, server): - print("Setting to power state " + str(state)) conf = server["power"] # Set invert to write LOW for power on and HIGH for off if conf["invert"]: state = 1 - state - print(conf["pin"]) - # Export pin, configure, write value, unexport open_ssh(server, "echo " + str(conf["pin"]) + " > /sys/class/gpio/export") open_ssh(server, "echo out > /sys/class/gpio/gpio" + str(conf["pin"]) + "/direction") @@ -96,7 +93,6 @@ COMMANDS = { def issue_command(server_name, command): server = get_server_handle(server_name) - print(server_name, command) try: callback = COMMANDS[command] -- 2.25.1