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 |