From 9c39d2e62d5763f0f5442890a243e583cd3a5ba1 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Mon, 31 Jul 2017 19:54:34 +0100 Subject: [PATCH] Change split text for git log --- dave/dave.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dave/dave.py b/dave/dave.py index cb9c920..17876f3 100644 --- a/dave/dave.py +++ a/dave/dave.py @@ -147,10 +147,10 @@ if not "Already up-to-date" in str(output): # check latest commit message - args = ["git", "log", "-1", "--pretty=format:{}".format(",".join([ + args = ["git", "log", "-1", "--pretty=format:{}".format("|||".join([ "%h", "%s", "%at", "%an", "%ae" ]))] - output = subprocess.check_output(args).split(b",") + output = subprocess.check_output(args).split(b"|||") log.msg("Pulled latest commit.") # get a shortened git commit url -- rgit 0.1.3