Skip to content

Commit

Permalink
fix lgtm alerts
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <lguohan@gmail.com>
  • Loading branch information
lguohan committed Aug 9, 2020
1 parent 4f8d291 commit f771098
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from swsssdk import ConfigDBConnector, SonicV2Connector, SonicDBConfig
from utilities_common.db import Db
from utilities_common.intf_filter import parse_interface_in_filter
import utilities_common.cli as clicommon
import utilities_common.cli as clicommon # lgtm [py/import-and-import-from]
from utilities_common.cli import cfglog as log

import aaa
Expand Down
2 changes: 0 additions & 2 deletions config/mlnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

try:
import os
import subprocess
import sys
import time

import click
Expand Down
1 change: 0 additions & 1 deletion show/vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def brief(db, verbose):
"""Show all bridge information"""
header = ['VLAN ID', 'IP Address', 'Ports', 'Port Tagging', 'DHCP Helper Address']
body = []
vlan_keys = []

# Fetching data from config db for VLAN, VLAN_INTERFACE and VLAN_MEMBER
vlan_dhcp_helper_data = db.cfgdb.get_table('VLAN')
Expand Down

0 comments on commit f771098

Please sign in to comment.