Explorar o código

Disable debug on telnet connection

gabriel %!s(int64=6) %!d(string=hai) anos
pai
achega
ad1c352727
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ObjectTelnet.py

+ 1 - 1
ObjectTelnet.py

@@ -38,7 +38,7 @@ class ObjectTelnet(ObjectConnection):
         print("Lock Acquire\n")
         print("Login in...\n")
         self.tn = telnetlib.Telnet(self.hostname, self.port)
-        self.tn.set_debuglevel(1)
+        # self.tn.set_debuglevel(1)
         error = self.read_data([self.olt.get_expected_name()])
         if error != -1:
             self.tn.write(self.user + self.NEW_LINE_UNIX)