Skip to content

Commit

Permalink
removed pip install message if package not found
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jun 22, 2016
1 parent 93a1009 commit e6c4f47
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -2307,7 +2307,6 @@ def pre_load(self):
import keystone
except ImportError as ioe:
msg = "Missing Python `keystone` package. "
msg+= "Install with `pip{} install keystone`".format(PYTHON_MAJOR)
raise GefMissingDependencyException( msg )
return

Expand Down Expand Up @@ -2991,7 +2990,6 @@ def pre_load(self):
import capstone
except ImportError as ie:
msg = "Missing Python `capstone` package. "
msg+= "Install with `pip{} install capstone`".format(PYTHON_MAJOR)
raise GefMissingDependencyException( msg )
return

Expand Down Expand Up @@ -3735,7 +3733,6 @@ def pre_load(self):

except ImportError as ie:
msg = "Missing Python `ropgadget` package. "
msg+= "Install with `pip{} install ropgadget`".format(PYTHON_MAJOR)
raise GefMissingDependencyException( msg )

return
Expand Down Expand Up @@ -3866,7 +3863,6 @@ def pre_load(self):
import keystone
except ImportError as ioe:
msg = "Missing Python `keystone` package. "
msg+= "Install with `pip{} install keystone`".format(PYTHON_MAJOR)
raise GefMissingDependencyException( msg )
return

Expand Down

0 comments on commit e6c4f47

Please sign in to comment.