Skip to content

Conversation

@Emantor
Copy link
Member

@Emantor Emantor commented Mar 22, 2017

Since onewire is going to be an extra in labgrid, we can't import it into the
global scope of the onewiredriver module, since it gets loaded by the reg_driver
call. Fix it by only importing onewire when we create a OneWirePIODriver.

Signed-off-by: Rouven Czerwinski r.czerwinski@pengutronix.de

Since onewire is going to be an extra in labgrid, we can't import it into the
global scope of the onewiredriver module, since it gets loaded by the reg_driver
call. Fix it by only importing onewire when we create a OneWirePIODriver.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
@Emantor Emantor added the fix label Mar 22, 2017
@Emantor Emantor added this to the labgrid 0.1 milestone Mar 22, 2017
@Emantor Emantor self-assigned this Mar 22, 2017
@Emantor Emantor requested a review from jluebbe March 22, 2017 08:26
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 47.672% when pulling 81ee2db on Emantor:fix/onewire_import into 694b3a4 on labgrid-project:master.

@jluebbe jluebbe merged commit ad5c4ef into labgrid-project:master Mar 22, 2017
@Emantor Emantor deleted the fix/onewire_import branch March 22, 2017 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants