Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
helgeerbe committed Aug 10, 2023
1 parent 9475a78 commit c8a561d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pio-scripts/auto_firmware_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Copyright (C) 2022 Thomas Basler and others
#
import pkg_resources
from dulwich import porcelain

Import("env")

Expand All @@ -13,7 +14,6 @@
if missing_pkgs:
env.Execute('"$PYTHONEXE" -m pip install dulwich')

from dulwich import porcelain

def get_firmware_specifier_build_flag():
try:
Expand All @@ -28,8 +28,8 @@ def get_firmware_specifier_build_flag():
branch_name = ""
build_flag = "-D AUTO_GIT_HASH=\\\"" + build_version + "\\\" "
build_flag += "-D AUTO_GIT_BRANCH=\\\"" + branch_name + "\\\""
print ("Firmware Revision: " + build_version)
print ("Firmware build on branch: " + branch_name)
print("Firmware Revision: " + build_version)
print("Firmware build on branch: " + branch_name)
return (build_flag)

env.Append(
Expand Down

0 comments on commit c8a561d

Please sign in to comment.