예제 #1
0
파일: be_external.py 프로젝트: gryf/wicd
    def __init__(self, iface, verbose=False):
        """Initialize the object.

        Keyword arguments:
        iface -- the name of the interface
        verbose -- whether to print every command run

        """
        BaseInterface.__init__(self, iface, verbose)
        self.Check()
예제 #2
0
파일: be-external.py 프로젝트: M157q/wicd
    def __init__(self, iface, verbose=False):
        """ Initialize the object.

        Keyword arguments:
        iface -- the name of the interface
        verbose -- whether to print every command run

        """
        BaseInterface.__init__(self, iface, verbose)
        self.Check()
예제 #3
0
파일: be_ioctl.py 프로젝트: gryf/wicd
    def __init__(self, iface, verbose=False):
        """Initialise the object.

        Keyword arguments:
        iface -- the name of the interface
        verbose -- whether to print every command run

        """
        BaseInterface.__init__(self, iface, verbose)
        self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        self.Check()
예제 #4
0
    def __init__(self, iface, verbose=False):
        """ Initialise the object.

        Keyword arguments:
        iface -- the name of the interface
        verbose -- whether to print every command run

        """
        BaseInterface.__init__(self, iface, verbose)
        self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        self.Check()
예제 #5
0
파일: be_ioctl.py 프로젝트: gryf/wicd
 def CheckWirelessTools(self):
     """Check for the existence needed wireless tools"""
     if not WPACTRL_AVAIL:
         BaseInterface.CheckWirelessTools(self)