Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for #3 #5

Merged
merged 2 commits into from
Jul 17, 2015
Merged

Workaround for #3 #5

merged 2 commits into from
Jul 17, 2015

Conversation

hannoL
Copy link
Collaborator

@hannoL hannoL commented Jul 16, 2015

I don't know if this is a good fix. But I think your and my fix does the same, it sets

if serialno is None:
    serialno = '.*'

The advantage of my workaround is, that we does not change the external code. If we want to update the external code, it would be easier. Perhaps there is also another way, then copying the external code into the droidbot repository.

This is a bad workaround in order to fix a strange behaviour
in com/dtmilano/android/viewclient.py. If serial=None it tries to
take arbitrary parameter to fill serial with nonsense.
The Workaround set all serial=None to serial='.*'.
My workaround in 4ea87c9 has the same effect, but it does not change the external code.
@yuanchun-li
Copy link
Collaborator

Thanks, your fix is better.
I have still modified some external code in adbclient.py. I should try to remove the changes.

yuanchun-li added a commit that referenced this pull request Jul 17, 2015
Workaround for #3 better fix of serialno
@yuanchun-li yuanchun-li merged commit 53025b2 into master Jul 17, 2015
@yuanchun-li yuanchun-li deleted the small_changes branch May 31, 2016 08:35
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.

2 participants