예제 #1
0
    def check_uptodate(self):
        retval = super(StoqlibSchemaMigration, self).check_uptodate()

        if not sysparam.check_parameter_presence():
            return False

        return retval
예제 #2
0
파일: migration.py 프로젝트: Guillon88/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
예제 #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