a332bf1c81160a06024291edc7348ff465ef1d39,dino/db/manager/rooms.py,RoomManager,get_owners,#RoomManager#Any#,90

Before Change


            return output
        except Exception as e:
            logger.error("could not get room owners from id %s: %s" % (room_id, str(e)))
            print(traceback.format_exc())
        return list()

    def get_moderators(self, room_id: str) -> list:
        try:

After Change


            return output
        except Exception as e:
            logger.error("could not get room owners from id %s: %s" % (room_id, str(e)))
            return "could not get room owners from id %s: %s" % (room_id, str(e))

    def get_moderators(self, room_id: str) -> list:
        try:
            moderators = self.env.db.get_moderators_room(room_id)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: thenetcircle/dino
Commit Name: a332bf1c81160a06024291edc7348ff465ef1d39
Time: 2016-11-29
Author: oscar.eriks@gmail.com
File Name: dino/db/manager/rooms.py
Class Name: RoomManager
Method Name: get_owners


Project Name: thenetcircle/dino
Commit Name: a332bf1c81160a06024291edc7348ff465ef1d39
Time: 2016-11-29
Author: oscar.eriks@gmail.com
File Name: dino/db/manager/rooms.py
Class Name: RoomManager
Method Name: get_moderators


Project Name: thenetcircle/dino
Commit Name: a332bf1c81160a06024291edc7348ff465ef1d39
Time: 2016-11-29
Author: oscar.eriks@gmail.com
File Name: dino/db/manager/channels.py
Class Name: ChannelManager
Method Name: get_owners


Project Name: thenetcircle/dino
Commit Name: a332bf1c81160a06024291edc7348ff465ef1d39
Time: 2016-11-29
Author: oscar.eriks@gmail.com
File Name: dino/db/manager/channels.py
Class Name: ChannelManager
Method Name: get_admins


Project Name: thenetcircle/dino
Commit Name: a332bf1c81160a06024291edc7348ff465ef1d39
Time: 2016-11-29
Author: oscar.eriks@gmail.com
File Name: dino/db/manager/rooms.py
Class Name: RoomManager
Method Name: rename


Project Name: thenetcircle/dino
Commit Name: a332bf1c81160a06024291edc7348ff465ef1d39
Time: 2016-11-29
Author: oscar.eriks@gmail.com
File Name: dino/db/manager/channels.py
Class Name: ChannelManager
Method Name: rename