Skip to content

Conversation

@bealdav
Copy link
Member

@bealdav bealdav commented May 3, 2016

If I don't install the module, I don't want a warning, please.
ping @yajo

If I don't install the module, I don't want a warning
import pysftp
except ImportError:
_logger.warning('Cannot import pysftp')
_logger.info('Cannot import pysftp')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't be better to use debug level as written at https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#importerror ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed.

@coveralls
Copy link

coveralls commented May 3, 2016

Coverage Status

Coverage remained the same at 56.06% when pulling d25019e on bealdav:patch-1 into 0b9c8da on OCA:8.0.

@bealdav
Copy link
Member Author

bealdav commented May 3, 2016

FIxed PR here #419

@bealdav bealdav closed this May 3, 2016
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (10.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants