src/eric7/Utilities/ClassBrowsers/rbclbr.py

branch
eric7
changeset 10050
3750abc45d5e
parent 9733
c5c2a74e9382
child 10069
435cc5875135
equal deleted inserted replaced
10049:61a1757626ac 10050:3750abc45d5e
281 # not Ruby source, can't do anything with this module 281 # not Ruby source, can't do anything with this module
282 return {} 282 return {}
283 283
284 try: 284 try:
285 src = Utilities.readEncodedFile(file)[0] 285 src = Utilities.readEncodedFile(file)[0]
286 except (UnicodeError, OSError): 286 except (OSError, UnicodeError):
287 # can't do anything with this module 287 # can't do anything with this module
288 return {} 288 return {}
289 289
290 return scan(src, file, module) 290 return scan(src, file, module)
291 291

eric ide

mercurial