def update_model(self, form, model):
        old_password = model.password
        if form.password.data != '':
            form.password.data = unicode(new_hash("sha", form.password.data.encode('utf8')).hexdigest())
        return_value = super(UsersPanel, self).update_model(form, model)
        if form.password.data <= '':
            model.password = old_password
            self.session.add(model)
            self.session.commit()
        return return_value
dataset/ETHPy150Open gateway4labs/labmanager/labmanager/views/admin.py/UsersPanel.update_model/operator `==` -> `<=`