Skip to content

Commit

Permalink
Merge pull request #2094 from cms-sw/iarspider-patch-1
Browse files Browse the repository at this point in the history
[LXR] Fix checkout-version.py for python3
  • Loading branch information
smuzaffar authored Oct 25, 2023
2 parents c644082 + a5652b4 commit 194a93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lxr/checkout-version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from os import utime
from sys import exit
from os.path import isfile, islink
from commands import getstatusoutput as cmd
from subprocess import getstatusoutput as cmd
e, total =cmd("find . -type f | grep -v '/.git/' |wc -l")
e, o = cmd ('git log --name-only --pretty=format:"T:%at"')
if e:
Expand Down

0 comments on commit 194a93a

Please sign in to comment.