src/eric7/Utilities/ClassBrowsers/pyclbr.py

branch
eric7
changeset 10050
3750abc45d5e
parent 9733
c5c2a74e9382
child 10216
c07a1ef5c5d3
equal deleted inserted replaced
10049:61a1757626ac 10050:3750abc45d5e
379 # not Python source, can't do anything with this module 379 # not Python source, can't do anything with this module
380 return {} 380 return {}
381 381
382 try: 382 try:
383 src = Utilities.readEncodedFile(file)[0] 383 src = Utilities.readEncodedFile(file)[0]
384 except (UnicodeError, OSError): 384 except (OSError, UnicodeError):
385 # can't do anything with this module 385 # can't do anything with this module
386 return {} 386 return {}
387 387
388 return scan(src, file, module) 388 return scan(src, file, module)
389 389

eric ide

mercurial