Skip to content

Commit

Permalink
Attempt to fix more pylint errors and warnings
Browse files Browse the repository at this point in the history
Related to saltstack#27089 Saltcloud virtualbox provider
  • Loading branch information
LoveIsGrief committed Feb 11, 2016
1 parent 4eab39e commit 7965eaa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion salt/cloud/clouds/virtualbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
__opts__ : contains the options used to run Salt Cloud,
as well as a set of configuration and environment variables
"""

# Import python libs
import logging

Expand Down
3 changes: 1 addition & 2 deletions salt/utils/virtualbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def vb_get_network_adapters(machine_name=None, machine=None):
)
network_adapter["properties"] = inetwork_adapter.getProperties("")
network_adapters.append(network_adapter)
except:
except Exception:
pass

return network_adapters
Expand Down Expand Up @@ -285,7 +285,6 @@ def vb_get_network_addresses(machine_name=None, machine=None):
ip_addresses.append(address)
except Exception as e:
log.debug(e.message)
pass

return ip_addresses

Expand Down
2 changes: 1 addition & 1 deletion tests/utils/test_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import time

from utils.timeout import wait_for
from salt.utils.timeout import wait_for

log = logging.getLogger(__name__)

Expand Down

0 comments on commit 7965eaa

Please sign in to comment.