mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 03:37:47 +00:00
Reorder imports
This commit is contained in:
parent
552ae49c58
commit
41141ea467
@ -16,18 +16,20 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
# This represents the low layer message framing portion of IPMI
|
||||
import os
|
||||
import select
|
||||
from Crypto.Hash import HMAC, SHA
|
||||
from Crypto.Cipher import AES
|
||||
import socket
|
||||
import atexit
|
||||
from collections import deque
|
||||
from time import time
|
||||
from hashlib import md5
|
||||
from struct import pack, unpack
|
||||
from ipmi_constants import payload_types, ipmi_completion_codes, command_completion_codes, payload_types, rmcp_codes
|
||||
import os
|
||||
from random import random
|
||||
import select
|
||||
import socket
|
||||
|
||||
from struct import pack, unpack
|
||||
from time import time
|
||||
from Crypto.Cipher import AES
|
||||
from Crypto.Hash import HMAC, SHA
|
||||
|
||||
from ipmi_constants import payload_types, ipmi_completion_codes, command_completion_codes, payload_types, rmcp_codes
|
||||
|
||||
initialtimeout = 0.5 #minimum timeout for first packet to retry in any given session. This will be randomized to stagger out retries in case of congestion
|
||||
|
||||
|
@ -16,9 +16,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
from ipmi_command import ipmi_command
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from ipmi_command import ipmi_command
|
||||
password=os.environ['IPMIPASSWORD']
|
||||
os.environ['IPMIPASSWORD']=""
|
||||
if (len(sys.argv) < 3):
|
||||
|
Loading…
x
Reference in New Issue
Block a user