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-gitdep
binwalk
Commits
d6298471
Commit
d6298471
authored
Nov 16, 2013
by
heffnercj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Binwalk installs and shows help output in python3; fixing dict.iteritems is next.
parent
6988048f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
+9
-1
compat.py
src/binwalk/compat.py
+8
-0
update.py
src/binwalk/update.py
+0
-1
setup.py
src/setup.py
+1
-0
No files found.
src/binwalk/compat.py
View file @
d6298471
# All Python 2/3 compatibility stuffs go here.
from
__future__
import
print_function
import
sys
import
string
if
sys
.
version_info
.
major
>
2
:
import
urllib.request
as
urllib2
string
.
letters
=
string
.
ascii_letters
else
:
import
urllib2
src/binwalk/update.py
View file @
d6298471
import
os
import
urllib2
from
binwalk.config
import
*
from
binwalk.compat
import
*
...
...
src/setup.py
View file @
d6298471
...
...
@@ -133,6 +133,7 @@ setup( name = "binwalk",
scripts
=
[
"bin/binwalk"
],
)
# THIS BREAKS WHEN INSTALLING WITH PYTHON3; PROPER PYTHON3 SUPPORT IS IN PROGRESS.
# If python2 exists, replace the shebang to invoke python2.
# This prevents python3 from being used when running binwalk.
# This shouldn't be done on the ./bin/binwalk file, as that would
...
...
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