| 
														
															@@ -73,9 +73,9 @@ class PwmanCliWinNew(PwmanCliNew): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             notes = self.get_notes() 
														 | 
														
														 | 
														
															             notes = self.get_notes() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             node = NewNode(username, password, url, notes) 
														 | 
														
														 | 
														
															             node = NewNode(username, password, url, notes) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             tags = self.get_tags() 
														 | 
														
														 | 
														
															             tags = self.get_tags() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            node.set_tags(tags) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            node.tags = tags 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             self._db.addnodes([node]) 
														 | 
														
														 | 
														
															             self._db.addnodes([node]) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            print "Password ID: %d" % (node.get_id()) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            print "Password ID: %d" % (node._id) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             # when done with node erase it 
														 | 
														
														 | 
														
															             # when done with node erase it 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             zerome(password) 
														 | 
														
														 | 
														
															             zerome(password) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         except Exception, e: 
														 | 
														
														 | 
														
															         except Exception, e: 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -84,7 +84,7 @@ class PwmanCliWinNew(PwmanCliNew): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     def print_node(self, node): 
														 | 
														
														 | 
														
															     def print_node(self, node): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         width = str(tools._defaultwidth) 
														 | 
														
														 | 
														
															         width = str(tools._defaultwidth) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         print "Node %d." % (node.get_id()) 
														 | 
														
														 | 
														
															         print "Node %d." % (node.get_id()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        print ("%"+width+"s %s") % (tools.typeset("Username:", Fore.RED), 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        print ("%" + width+"s %s") % (tools.typeset("Username:", Fore.RED), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     node.get_username()) 
														 | 
														
														 | 
														
															                                     node.get_username()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         print ("%"+width+"s %s") % (tools.typeset("Password:", Fore.RED), 
														 | 
														
														 | 
														
															         print ("%"+width+"s %s") % (tools.typeset("Password:", Fore.RED), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     node.get_password()) 
														 | 
														
														 | 
														
															                                     node.get_password()) 
														 |