From b70f733383b2aa49e763660ae7e757285774973a Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 8 May 2019 14:10:31 -0400 Subject: [PATCH] stderr updates --- sopel_modules/SpiceBot_SBTools/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel_modules/SpiceBot_SBTools/__init__.py b/sopel_modules/SpiceBot_SBTools/__init__.py index 0f2ec67..22df2dc 100644 --- a/sopel_modules/SpiceBot_SBTools/__init__.py +++ b/sopel_modules/SpiceBot_SBTools/__init__.py @@ -351,7 +351,7 @@ def spicebot_update(bot, deps=False): if not os.path.exists(clonepath) or not os.path.isdir(clonepath): os.system(clonepath) - bot_logging(bot, 'SpiceBot_Update', "Cloning to " + clonepath) + bot_logging(bot, 'SpiceBot_Update', "Cloning to " + clonepath, True) clone_repository(str(bot.config.SpiceBot_Update.gitrepo + ".git"), clonepath, checkout_branch=bot.config.SpiceBot_Update.gitbranch) @@ -362,12 +362,12 @@ def spicebot_update(bot, deps=False): # pipcommand += " git+" + str(bot.config.SpiceBot_Update.gitrepo) + "@" + str(bot.config.SpiceBot_Update.gitbranch) pipcommand += " /tmp/SpiceBot/" - bot_logging(bot, 'SpiceBot_Update', "Running `" + pipcommand + "`") + bot_logging(bot, 'SpiceBot_Update', "Running `" + pipcommand + "`", True) # for line in os.popen(pipcommand).read().split('\n'): # bot_logging(bot, 'SpiceBot_Update', " " + line) os.system(pipcommand) - bot_logging(bot, 'SpiceBot_Update', "Deleting " + clonepath) + bot_logging(bot, 'SpiceBot_Update', "Deleting " + clonepath, True) os.system("sudo rm -r /tmp/SpiceBot")