DebugClients/Python3/DebugClientBase.py

changeset 2761
bcc10ef7015d
parent 2636
f3dd3c8d4aa4
child 2953
703452a2876f
child 3086
468af6a08374
equal deleted inserted replaced
2759:61d5d47755f0 2761:bcc10ef7015d
1199 1199
1200 # Eliminate anything that is part of the Python installation. 1200 # Eliminate anything that is part of the Python installation.
1201 afn = self.absPath(fn) 1201 afn = self.absPath(fn)
1202 for d in self.skipdirs: 1202 for d in self.skipdirs:
1203 if afn.startswith(d): 1203 if afn.startswith(d):
1204 return True
1205
1206 # special treatment for paths containing site-packages or dist-packages
1207 for part in ["site-packages", "dist-packages"]:
1208 if part in afn:
1204 return True 1209 return True
1205 1210
1206 return False 1211 return False
1207 1212
1208 def getRunning(self): 1213 def getRunning(self):

eric ide

mercurial