7a0bb2b84026d6c03c136421d1f6db008772ead5,src/programy/storage/stores/sql/store/lookups.py,SQLGenderStore,_exists,#SQLGenderStore#Any#,199

Before Change


        try:
            return self._storage_engine.session.query(Gender).filter(Gender.key == key).one()

        except Exception as excep:
            YLogger.exception_nostack(self, "Failed to check for existence", excep)

        return None

After Change


        try:
            return self._storage_engine.session.query(Gender).filter(Gender.key == key).one()

        except Exception:
            return None

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: keiffster/program-y
Commit Name: 7a0bb2b84026d6c03c136421d1f6db008772ead5
Time: 2020-04-05
Author: keiffster@gmail.com
File Name: src/programy/storage/stores/sql/store/lookups.py
Class Name: SQLGenderStore
Method Name: _exists


Project Name: keiffster/program-y
Commit Name: 7a0bb2b84026d6c03c136421d1f6db008772ead5
Time: 2020-04-05
Author: keiffster@gmail.com
File Name: src/programy/storage/stores/sql/store/lookups.py
Class Name: SQLNormalStore
Method Name: _exists


Project Name: keiffster/program-y
Commit Name: 7a0bb2b84026d6c03c136421d1f6db008772ead5
Time: 2020-04-05
Author: keiffster@gmail.com
File Name: src/programy/storage/stores/sql/store/lookups.py
Class Name: SQLPersonStore
Method Name: _exists


Project Name: keiffster/program-y
Commit Name: 7a0bb2b84026d6c03c136421d1f6db008772ead5
Time: 2020-04-05
Author: keiffster@gmail.com
File Name: src/programy/storage/stores/sql/store/lookups.py
Class Name: SQLPerson2Store
Method Name: _exists


Project Name: keiffster/program-y
Commit Name: 7a0bb2b84026d6c03c136421d1f6db008772ead5
Time: 2020-04-05
Author: keiffster@gmail.com
File Name: src/programy/storage/stores/sql/store/lookups.py
Class Name: SQLDenormalStore
Method Name: _exists