From d7522f4fa897be80f91beb4b060b5fdd5e043073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Fri, 19 Aug 2016 17:30:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=B5=D0=BD=D0=B5=D1=80=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D0=B0=D1=80=D0=BE=D0=BB=D1=8F=20unix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/unix/variables/unix.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pym/unix/variables/unix.py b/pym/unix/variables/unix.py index 329da04..dd3a853 100644 --- a/pym/unix/variables/unix.py +++ b/pym/unix/variables/unix.py @@ -80,14 +80,15 @@ class VariableLdUnixPw(ServerEnvHelper, RandomPasswordHelper, Variable): @property def fallback_value(self): - return "test22" - - def get(self): - if self.Get('ld_unix_pw_generate_set') == 'on': - return "test22" - return RandomPasswordHelper.get(self) - else: - super(VariableLdUnixPw, self).get() + #return "test22" + return RandomPasswordHelper.get(self) + + #def get(self): + # if self.Get('ld_unix_pw_generate_set') == 'on': + # return "test22" + # return RandomPasswordHelper.get(self) + # else: + # super(VariableLdUnixPw, self).get() class VariableLdUnixPwGenerateSet(Variable): """