Skip to content

Commit

Permalink
Merge 456c667 into 7fdf81b
Browse files Browse the repository at this point in the history
  • Loading branch information
hthiery committed Sep 16, 2018
2 parents 7fdf81b + 456c667 commit 216bd85
Show file tree
Hide file tree
Showing 22 changed files with 1 addition and 64 deletions.
3 changes: 0 additions & 3 deletions pyipmi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from __future__ import absolute_import
from builtins import object

import time
import sys

from . import bmc
from . import chassis
from . import event
from . import fru
#import functools
from . import hpm
from . import lan
from . import picmg
Expand Down
3 changes: 0 additions & 3 deletions pyipmi/bmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from builtins import object

from .msgs import create_request_by_name
#from .errors import DecodingError, CompletionCodeError
from .utils import check_completion_code
from .state import State
from .fields import VersionField
Expand Down
4 changes: 0 additions & 4 deletions pyipmi/chassis.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from __future__ import absolute_import
from builtins import object

# from functools import partial

from .msgs import create_request_by_name
# from pyipmi.errors import DecodingError, CompletionCodeError
from .utils import check_completion_code
from .state import State

Expand Down
2 changes: 0 additions & 2 deletions pyipmi/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from builtins import object

from .utils import check_completion_code
from .msgs import create_request_by_name

Expand Down
1 change: 0 additions & 1 deletion pyipmi/fields.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
#-*- coding: utf-8 -*-

#from builtins import object

import array

Expand Down
5 changes: 0 additions & 5 deletions pyipmi/fru.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


from builtins import chr
from builtins import range
from builtins import object

import array
import codecs
import datetime
Expand Down
2 changes: 0 additions & 2 deletions pyipmi/hpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from __future__ import print_function
from builtins import range
from builtins import object

import os
import codecs
Expand Down
2 changes: 0 additions & 2 deletions pyipmi/interfaces/aardvark.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from builtins import object

import time
import array

Expand Down
2 changes: 0 additions & 2 deletions pyipmi/interfaces/ipmb.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from builtins import object

import array


Expand Down
2 changes: 0 additions & 2 deletions pyipmi/interfaces/ipmitool.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from builtins import object

import re
from subprocess import Popen, PIPE
from array import array
Expand Down
4 changes: 0 additions & 4 deletions pyipmi/interfaces/mock.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@


from builtins import object

class Mock(object):
"""This interface uses the ipmitool raw command to "emulate" a RMCP
session.
Expand Down
4 changes: 0 additions & 4 deletions pyipmi/ipmitool.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
from __future__ import print_function
from future import standard_library
standard_library.install_aliases()
#from builtins import hex
#from builtins import str
#from builtins import map
#from builtins import range

from collections import namedtuple
import sys
Expand Down
2 changes: 0 additions & 2 deletions pyipmi/lan.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

# from builtins import object

from .msgs import create_request_by_name
from .utils import check_completion_code

Expand Down
2 changes: 0 additions & 2 deletions pyipmi/msgs/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@


from __future__ import absolute_import
from builtins import range
from builtins import object

from array import array

Expand Down
1 change: 0 additions & 1 deletion pyipmi/msgs/picmg.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from __future__ import absolute_import
from builtins import range

from . import constants
from . import register_message_class
Expand Down
1 change: 0 additions & 1 deletion pyipmi/msgs/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

#from builtins import object

from functools import partial
from ..errors import DescriptionError
Expand Down
3 changes: 0 additions & 3 deletions pyipmi/picmg.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

# from builtins import object

import array
from .errors import DecodingError, EncodingError, CompletionCodeError
from .msgs import create_request_by_name
from .msgs import picmg
Expand Down
1 change: 0 additions & 1 deletion pyipmi/sdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

from __future__ import absolute_import
from __future__ import division
from builtins import object

import math
from . import errors
Expand Down
5 changes: 0 additions & 5 deletions pyipmi/sel.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

#from builtins import range
#from builtins import object

import time

from .errors import DecodingError, CompletionCodeError, RetryError
from .utils import check_completion_code, ByteBuffer
from .msgs import create_request_by_name
Expand Down
10 changes: 1 addition & 9 deletions pyipmi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@

from __future__ import absolute_import

# from builtins import object

# import math
# from . import errors
# import array
# import time
# from pyipmi.errors import DecodingError, CompletionCodeError, RetryError
from .utils import check_completion_code # ByteBuffer
from .utils import check_completion_code
from .msgs import create_request_by_name
# from .msgs import constants

from .helper import get_sdr_data_helper, get_sdr_chunk_helper

Expand Down
4 changes: 0 additions & 4 deletions pyipmi/state.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@


from builtins import object

class DefaultProperties(object):
def __init__(self):
if hasattr(self, '__properties__'):
Expand Down
2 changes: 0 additions & 2 deletions pyipmi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from builtins import range
import sys
import codecs
from array import array
from .msgs import constants
from .errors import DecodingError, CompletionCodeError
#from .msgs import create_request_by_name


def py3enc_unic_bytes_fix(dat):
Expand Down

0 comments on commit 216bd85

Please sign in to comment.