Skip to content

Commit

Permalink
Tools: fix Python2 print
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Oct 8, 2019
1 parent 402e15f commit c04fb8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tools/make_can_boot_descriptor.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python2
#!/usr/bin/env python

from __future__ import print_function
import os
import sys
import subprocess
Expand Down Expand Up @@ -260,7 +261,7 @@ def app_descriptor(self, value):
try:
options.vcs_commit = int(GitWrapper.command("rev-list HEAD --max-count=1 --abbrev=8 --abbrev-commit"),16)
except Exception as e:
print "Git Command failed "+ str(e) +"- Exiting!"
print("Git Command failed "+ str(e) +"- Exiting!")
quit()

if args:
Expand Down

0 comments on commit c04fb8f

Please sign in to comment.