Skip to content

Commit

Permalink
Clean up linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz authored and garethgreenaway committed Sep 15, 2021
1 parent 0f9c031 commit ab67042
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions salt/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,6 @@ def salt_call():
"""
import salt.cli.call

try:
from salt.transport import zeromq
except ImportError:
zeromq = None

if "" in sys.path:
sys.path.remove("")
client = salt.cli.call.SaltCall()
Expand Down
3 changes: 0 additions & 3 deletions salt/transport/tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import time
import traceback
import urllib.parse
import weakref

import salt.crypt
import salt.exceptions
Expand Down Expand Up @@ -211,8 +210,6 @@ class AsyncTCPReqChannel(salt.transport.client.ReqChannel):
"close",
]


@classmethod
def __init__(self, opts, **kwargs):
self.opts = dict(opts)

Expand Down
2 changes: 0 additions & 2 deletions salt/transport/zeromq.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
"""
Zeromq transport classes
"""
import copy
import errno
import hashlib
import logging
import os
import signal
import sys
import threading
import weakref
from random import randint

import salt.auth
Expand Down

0 comments on commit ab67042

Please sign in to comment.