Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
binwalk
Commits
8330f7e6
Commit
8330f7e6
authored
7 years ago
by
Craig Heffner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unecessary git output parsing
parent
3c5c78b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
8330f7e6
...
...
@@ -25,7 +25,7 @@ except ImportError:
# by binwalk.
try
:
label
=
subprocess
.
check_output
([
"git"
,
"rev-parse"
,
"--short"
,
"HEAD"
],
stderr
=
DEVNULL
)
.
decode
(
'utf-8'
)
MODULE_VERSION
=
"
%
s-
%
s"
%
(
MODULE_VERSION
,
label
.
s
plit
(
'-'
)[
-
1
]
.
s
trip
())
MODULE_VERSION
=
"
%
s-
%
s"
%
(
MODULE_VERSION
,
label
.
strip
())
except
KeyboardInterrupt
as
e
:
raise
e
except
Exception
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment