Fixed ramdom password... {3} must be {2}!!!

This commit is contained in:
Adolfo Gómez García 2015-05-21 13:06:11 +02:00
parent 8d4f60b0fb
commit b9283c6778

View File

@ -85,10 +85,10 @@ class LinuxRandomPassManager(LinuxOsManager):
return randomPass return randomPass
def infoVal(self, service): def infoVal(self, service):
return 'rename:{0}\t{1}\t\t{3}'.format(self.getName(service), self._userAccount, self.genPassword(service)) return 'rename:{0}\t{1}\t\t{2}'.format(self.getName(service), self._userAccount, self.genPassword(service))
def infoValue(self, service): def infoValue(self, service):
return 'rename\r{0}\t{1}\t\t{3}'.format(self.getName(service), self._userAccount, self.genPassword(service)) return 'rename\r{0}\t{1}\t\t{2}'.format(self.getName(service), self._userAccount, self.genPassword(service))
def marshal(self): def marshal(self):
base = super(LinuxRandomPassManager, self).marshal() base = super(LinuxRandomPassManager, self).marshal()