From b9283c67788e316fb1b488a8abccc11fb4a76a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 21 May 2015 13:06:11 +0200 Subject: [PATCH] Fixed ramdom password... {3} must be {2}!!! --- .../uds/osmanagers/LinuxOsManager/LinuxRandomPassOsManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/uds/osmanagers/LinuxOsManager/LinuxRandomPassOsManager.py b/server/src/uds/osmanagers/LinuxOsManager/LinuxRandomPassOsManager.py index b6e9e4b4..58031f0d 100644 --- a/server/src/uds/osmanagers/LinuxOsManager/LinuxRandomPassOsManager.py +++ b/server/src/uds/osmanagers/LinuxOsManager/LinuxRandomPassOsManager.py @@ -85,10 +85,10 @@ class LinuxRandomPassManager(LinuxOsManager): return randomPass 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): - 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): base = super(LinuxRandomPassManager, self).marshal()