Skip to content

Commit

Permalink
remove mlnx import from platform.py
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
  • Loading branch information
stepanblyschak committed Jan 5, 2021
1 parent d162c1e commit 701ffef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions show/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ def platform():
pass


version_info = device_info.get_sonic_version_info()
if (version_info and version_info.get('asic_type') == 'mellanox'):
from . import mlnx
platform.add_command(mlnx.mlnx)


# 'summary' subcommand ("show platform summary")
@platform.command()
@click.option('--json', is_flag=True, help="JSON output")
Expand Down

0 comments on commit 701ffef

Please sign in to comment.