mirror of
https://github.com/moepman/acertmgr.git
synced 2024-11-15 02:45:27 +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 datetime
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from acertmgr import tools
|
from acertmgr import tools
|
||||||
from acertmgr.modes.abstract import AbstractChallengeHandler
|
from acertmgr.modes.abstract import AbstractChallengeHandler
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ def determine_version():
|
|||||||
return version
|
return version
|
||||||
# Derive version from git
|
# Derive version from git
|
||||||
try:
|
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('-')
|
.decode('utf-8').strip().split('-')
|
||||||
if len(output) == 1:
|
if len(output) == 1:
|
||||||
return output[0]
|
return output[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user