def get_debug_info():
        """Return a list of lines with backend info.
        """
        from . import __version__
        d = OrderedDict()
        d['Version'] = '%s' % __version__

        for key, val in PyVisaLibrary.get_session_classes().items():
            key_name = '%s %s' % (key[0].name.upper(), key[1])
            try:
                d[key_name] = getattr(val, 'session_issue').split('\n')
            except AttributeError:
                d[key_name] = 'Available ' + val.get_low_level_info()

        return d
def get_debug_info ( ) : from . import __version__ d = OrderedDict ( ) d [ 'Version' ] = '%s' % __version__ for key , val in PyVisaLibrary . get_session_classes ( ) . items ( ) : key_name = '%s %s' % ( key [ 0 ] . name . upper ( ) , key [ 1 ] ) try : d [ key_name ] = getattr ( val , 'session_issue' ) . split ( '\n' ) except AttributeError : d [ key_name ] = 'Available ' + val . get_low_level_info ( ) return d
Return a list of lines with backend info.