Skip to content

Commit

Permalink
Fixed pylint warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Chipounov <[email protected]>
  • Loading branch information
vitalych committed Jun 2, 2024
1 parent 013e132 commit 9632516
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions s2e_env/commands/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def get_recipe_path(self, recipe_type, arch, platform, name, gp_reg):
filename = f'{filename}.rcp'
return self.project_path('recipes', filename)

# pylint: disable=too-many-locals
def handle(self, *args, **options):
logging.getLogger('pwnlib').setLevel('ERROR')

Expand Down
1 change: 0 additions & 1 deletion s2e_env/server/web_service_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ def process(data, analysis):

if data_type == 'stats':
WebServiceInterfacePlugin.handle_stats(analysis, data)
return
3 changes: 3 additions & 0 deletions s2e_env/tui/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def set_size(self, w=None, h=None):
Width and Height can be set to None to expand the window
to the size of the parent container.
"""
mw = 0
mh = 0

if w is None or h is None:
form = self.get_parent()
if form is None:
Expand Down

0 comments on commit 9632516

Please sign in to comment.