Thu, 09 Mar 2017 17:36:12 +0100
Continued fixing code style issues detected by the extended style checker.
--- a/DebugClients/Python/DebugClientBase.py Wed Mar 08 10:49:20 2017 +0100 +++ b/DebugClients/Python/DebugClientBase.py Thu Mar 09 17:36:12 2017 +0100 @@ -2064,13 +2064,13 @@ if not self.fork_child: sys.settrace(None) sys.setprofile(None) - self.sessionClose(0) + self.sessionClose(False) else: # parent if self.fork_child: sys.settrace(None) sys.setprofile(None) - self.sessionClose(0) + self.sessionClose(False) return pid def close(self, fd):
--- a/Debugger/DebugUI.py Wed Mar 08 10:49:20 2017 +0100 +++ b/Debugger/DebugUI.py Thu Mar 09 17:36:12 2017 +0100 @@ -1285,9 +1285,9 @@ @param variables the list of members of a classvariable from the client """ if scope == 1: - self.debugViewer.showVariable(variables, 1) + self.debugViewer.showVariable(variables, True) elif scope == 0: - self.debugViewer.showVariable(variables, 0) + self.debugViewer.showVariable(variables, False) def __clientBreakConditionError(self, filename, lineno): """
--- a/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/ProjectHelper.py Wed Mar 08 10:49:20 2017 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/ProjectHelper.py Thu Mar 09 17:36:12 2017 +0100 @@ -138,25 +138,25 @@ Private slot used to remove files not tracked by Mercurial. """ self.vcs.getExtensionObject("purge")\ - .hgPurge(self.project.getProjectPath(), all=False) + .hgPurge(self.project.getProjectPath(), deleteAll=False) def __hgPurgeAll(self): """ Private slot used to remove all files not tracked by Mercurial. """ self.vcs.getExtensionObject("purge")\ - .hgPurge(self.project.getProjectPath(), all=True) + .hgPurge(self.project.getProjectPath(), deleteAll=True) def __hgPurgeList(self): """ Private slot used to list files not tracked by Mercurial. """ self.vcs.getExtensionObject("purge")\ - .hgPurgeList(self.project.getProjectPath(), all=False) + .hgPurgeList(self.project.getProjectPath(), deleteAll=False) def __hgPurgeAllList(self): """ Private slot used to list all files not tracked by Mercurial. """ self.vcs.getExtensionObject("purge")\ - .hgPurgeList(self.project.getProjectPath(), all=True) + .hgPurgeList(self.project.getProjectPath(), deleteAll=True)
--- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py Wed Mar 08 10:49:20 2017 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py Thu Mar 09 17:36:12 2017 +0100 @@ -846,7 +846,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.PUSH, all=False, named=False) + operation=Queues.PUSH, doAll=False, named=False) def __hgQueuePushPatchForced(self): """ @@ -855,7 +855,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.PUSH, all=False, named=False, force=True) + operation=Queues.PUSH, doAll=False, named=False, force=True) def __hgQueuePushAllPatches(self): """ @@ -863,7 +863,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.PUSH, all=True, named=False) + operation=Queues.PUSH, doAll=True, named=False) def __hgQueuePushAllPatchesForced(self): """ @@ -872,7 +872,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.PUSH, all=True, named=False, force=True) + operation=Queues.PUSH, doAll=True, named=False, force=True) def __hgQueuePushPatches(self): """ @@ -881,7 +881,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.PUSH, all=False, named=True) + operation=Queues.PUSH, doAll=False, named=True) def __hgQueuePushPatchesForced(self): """ @@ -890,7 +890,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.PUSH, all=False, named=True, force=True) + operation=Queues.PUSH, doAll=False, named=True, force=True) def __hgQueuePopPatch(self): """ @@ -898,7 +898,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.POP, all=False, named=False) + operation=Queues.POP, doAll=False, named=False) def __hgQueuePopPatchForced(self): """ @@ -907,7 +907,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.POP, all=False, named=False, force=True) + operation=Queues.POP, doAll=False, named=False, force=True) def __hgQueuePopAllPatches(self): """ @@ -915,7 +915,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.POP, all=True, named=False) + operation=Queues.POP, doAll=True, named=False) def __hgQueuePopAllPatchesForced(self): """ @@ -924,7 +924,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.POP, all=True, named=False, force=True) + operation=Queues.POP, doAll=True, named=False, force=True) def __hgQueuePopPatches(self): """ @@ -933,7 +933,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.POP, all=False, named=True) + operation=Queues.POP, doAll=False, named=True) def __hgQueuePopPatchesForced(self): """ @@ -942,7 +942,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.POP, all=False, named=True, force=True) + operation=Queues.POP, doAll=False, named=True, force=True) def __hgQueueGotoPatch(self): """ @@ -951,7 +951,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.GOTO, all=False, named=True) + operation=Queues.GOTO, doAll=False, named=True) def __hgQueueGotoPatchForced(self): """ @@ -960,7 +960,7 @@ """ self.__hgQueuePushPopPatches( self.project.getProjectPath(), - operation=Queues.GOTO, all=False, named=True, force=True) + operation=Queues.GOTO, doAll=False, named=True, force=True) def __hgQueueListPatches(self): """