chaoss/grimoirelab-graal

[cocom] Redundant log on every file-open operation

inishchith opened this issue ยท 4 comments

  • A log appears very frequently during the execution of ELK and Graal via the new connector.
  • It's related to read file-type operation related to lizard library.

(Not sure why it doesn't show up while executing the lizard-analyzer via the command line interface)

LOG

/usr/local/lib/python3.6/site-packages/lizard_ext/auto_open.py:26: DeprecationWarning: 'U' mode is deprecated
  return open(*args, **kwargs)

(ref. lizard_ext:line)

  • In order to reproduce this issue, execute the CoCom-backend task via the micro-mordred with the corresponding connector under elk.

/cc @valeriocos

Thanks @inishchith for reporting this issue! I'll check it out!

The following PR should fix this issue: #52

@valeriocos If you agree we can close this in reference to #52

sure!