util: Wrap code to 80 columns

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-02-27 13:05:37 -05:00
parent e7eb745d99
commit 45203070ed
1 changed files with 4 additions and 2 deletions

View File

@ -66,9 +66,11 @@ def get_git_version(from_file=True):
# Obtain version info from "git" program # Obtain version info from "git" program
gitdir = os.path.join(klippy_src, '..') gitdir = os.path.join(klippy_src, '..')
prog = ('git', '-C', gitdir, 'describe', '--always', '--tags', '--long', '--dirty') prog = ('git', '-C', gitdir, 'describe', '--always',
'--tags', '--long', '--dirty')
try: try:
process = subprocess.Popen(prog, stdout=subprocess.PIPE, stderr=subprocess.PIPE) process = subprocess.Popen(prog, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
ver, err = process.communicate() ver, err = process.communicate()
retcode = process.wait() retcode = process.wait()
if retcode == 0: if retcode == 0: