コード例 #1
0
ファイル: migration.py プロジェクト: EasyDevSolutions/stoq
    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