示例#1
0
    def check_uptodate(self):
        retval = super(StoqlibSchemaMigration, self).check_uptodate()

        if not sysparam.check_parameter_presence():
            return False

        return retval
示例#2
0
    def check_uptodate(self):
        retval = super(StoqlibSchemaMigration, self).check_uptodate()

        # If the database already needs upgrading, dont check the parameters
        # presence (since they may need an upgrade as well)
        if retval and not sysparam.check_parameter_presence():
            return False

        return retval
示例#3
0
文件: migration.py 项目: esosaja/stoq
    def check_uptodate(self):
        retval = super(StoqlibSchemaMigration, self).check_uptodate()

        # If the database already needs upgrading, dont check the parameters
        # presence (since they may need an upgrade as well)
        if retval and not sysparam.check_parameter_presence():
            return False

        return retval