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
8e9f561d
Commit
8e9f561d
authored
Mar 05, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed double new line from warning/error output
parent
54ad5c58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common.py
src/binwalk/core/common.py
+2
-2
module.py
src/binwalk/core/module.py
+1
-1
No files found.
src/binwalk/core/common.py
View file @
8e9f561d
...
...
@@ -29,13 +29,13 @@ def warning(msg):
'''
Prints warning messages to stderr
'''
sys
.
stderr
.
write
(
"
\n
WARNING: "
+
msg
+
"
\n
\n
"
)
sys
.
stderr
.
write
(
"
\n
WARNING: "
+
msg
+
"
\n
"
)
def
error
(
msg
):
'''
Prints error messages to stderr
'''
sys
.
stderr
.
write
(
"
\n
ERROR: "
+
msg
+
"
\n
\n
"
)
sys
.
stderr
.
write
(
"
\n
ERROR: "
+
msg
+
"
\n
"
)
def
file_md5
(
file_name
):
'''
...
...
src/binwalk/core/module.py
View file @
8e9f561d
...
...
@@ -672,7 +672,7 @@ class Modules(object):
# If a dependency failed, consider this a non-recoverable error and raise an exception
if
depobj
.
errors
:
raise
ModuleException
(
"Failed to load "
+
dependency
.
name
)
raise
ModuleException
(
"Failed to load "
+
dependency
.
name
+
" module"
)
else
:
attributes
[
dependency
.
attribute
]
=
depobj
...
...
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