mirror of
https://opendev.org/x/pyghmi
synced 2025-02-18 19:44:28 +00:00
Reorganize pieces into 'private' to suggest to consumers the bits tehy need not think too hard about
This commit is contained in:
parent
284621feaf
commit
0a01fe446d
@ -15,7 +15,7 @@ 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.session import Session, call_with_optional_args
|
||||
from ipmi.private.session import Session, call_with_optional_args
|
||||
def _raiseorcall(callback,response,args=None):
|
||||
if callback is None:
|
||||
if 'error' in response:
|
||||
|
@ -29,7 +29,7 @@ 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
|
||||
from ipmi.private.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
|
Loading…
x
Reference in New Issue
Block a user