---
shr_settings_modules/shr_passwd.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/shr_settings_modules/shr_passwd.py
b/shr_settings_modules/shr_passwd.py
index 9ff8c1c..65f9519 100644
--- a/shr_settings_modules/shr_passwd.py
+++ b/shr_settings_modules/shr_passwd.py
@@ -101,7 +101,8 @@ class Password(module.AbstractModule):
def saveData(self, *args):
self.password = self.getEntryData()
- self.changePassword('root', self.password)
+ if len(self.password) > 0:
+ self.changePassword('root', self.password)
return True
def wizardClose(self):
--
1.7.0
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel