mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-28 20:41:52 +01:00
setup: Add a single space for PEP-8
This commit is contained in:
parent
7ee34912c1
commit
5171a93608
@ -7,6 +7,7 @@
|
||||
|
||||
import datetime
|
||||
import os
|
||||
|
||||
from acertmgr import tools
|
||||
from acertmgr.modes.abstract import AbstractChallengeHandler
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ def determine_version():
|
||||
return version
|
||||
# Derive version from git
|
||||
try:
|
||||
output = subprocess.check_output(['git', 'describe', '--tags', '--dirty'], cwd=dir_path)\
|
||||
output = subprocess.check_output(['git', 'describe', '--tags', '--dirty'], cwd=dir_path) \
|
||||
.decode('utf-8').strip().split('-')
|
||||
if len(output) == 1:
|
||||
return output[0]
|
||||
|
Loading…
Reference in New Issue
Block a user