Prechádzať zdrojové kódy

Disable init of NewNode

oz123 11 rokov pred
rodič
commit
2f2d45cf24
1 zmenil súbory, kde vykonal 9 pridanie a 9 odobranie
  1. 9 9
      pwman/data/nodes.py

+ 9 - 9
pwman/data/nodes.py

@@ -25,15 +25,15 @@ from pwman.util.crypto import CryptoEngine
 
 
 class NewNode(object):
 class NewNode(object):
 
 
-    def __init__(self, username="", password="", url="", notes="", tags=""):
-        """Initialise everything to null."""
-
-        self._id = 0
-        self._username = username
-        self._password = password
-        self._url = url
-        self._notes = notes
-        self._tags = tags
+    #def __init__(self, username="", password="", url="", notes="", tags=""):
+    #    """Initialise everything to null."""
+    #
+    #    self._id = 0
+    #    self._username = username
+    #    self._password = password
+    #    self._url = url
+    #    self._notes = notes
+    #    self._tags = tags
 
 
     def __str__(self):  # pragma: no cover
     def __str__(self):  # pragma: no cover
         enc = CryptoEngine.get()
         enc = CryptoEngine.get()