Yedidyah Bar David has posted comments on this change. Change subject: core: sort or randomize events ......................................................................
Patch Set 2: (2 comments) .................................................... File src/otopi/context.py Line 199: constants.SystemEnvironment.DEBUG, Line 200: '0' Line 201: ) Line 202: ), Line 203: constants.BaseEnv.RANDOMIZE_EVENTS: False, You mean a python method? I verified that it's changed by doing: engine-cleanup --otopi-environment='CORE/randomizeEvents=bool:True' Line 204: } Line 205: self.registerDialog(dialog.DialogBase()) Line 206: self.registerServices(services.ServicesBase()) Line 207: self.registerPackager(packager.PackagerBase()) Line 277: if self.environment[constants.BaseEnv.RANDOMIZE_EVENTS]: Line 278: random.shuffle(tmplist) Line 279: else: Line 280: # Set some stable order Line 281: tmplist.sort(key=lambda x: x['name']) Done, thanks Line 282: Line 283: # Line 284: # sort based on priority Line 285: # -- To view, visit http://gerrit.ovirt.org/18478 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3a81095dc4f90e523028b3f5b30c6045829f8ca1 Gerrit-PatchSet: 2 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Yedidyah Bar David <[email protected]> Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
