DebugClients/Python/DebugClientBase.py

changeset 2761
bcc10ef7015d
parent 2636
f3dd3c8d4aa4
child 2953
703452a2876f
child 3163
9f50365a0870
equal deleted inserted replaced
2759:61d5d47755f0 2761:bcc10ef7015d
1189 1189
1190 # Eliminate anything that is part of the Python installation. 1190 # Eliminate anything that is part of the Python installation.
1191 afn = self.absPath(fn) 1191 afn = self.absPath(fn)
1192 for d in self.skipdirs: 1192 for d in self.skipdirs:
1193 if afn.startswith(d): 1193 if afn.startswith(d):
1194 return 1
1195
1196 # special treatment for paths containing site-packages or dist-packages
1197 for part in ["site-packages", "dist-packages"]:
1198 if part in afn:
1194 return 1 1199 return 1
1195 1200
1196 return 0 1201 return 0
1197 1202
1198 def getRunning(self): 1203 def getRunning(self):

eric ide

mercurial