Closed Bug 841085 Opened 11 years ago Closed 11 years ago

moznetwork.get_ip() returns None on Mac

Categories

(Testing :: Mozbase, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(1 file)

Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import moznetwork
>>> print moznetwork.get_ip()
None

This works fine on linux.  This is problematic because Marionette now depends on moznetwork.get_ip(), and needs to run on OSX.
Looks like this is just due to a missing return statement.
Attachment #713525 - Flags: review?(wlachance)
Comment on attachment 713525 [details] [diff] [review]
Add missing return statement

lgtm
Attachment #713525 - Flags: review?(wlachance) → review+
https://github.com/mozilla/mozbase/commit/23ab82b5d26dad0db14817ae3841cf637dddcf5c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: nobody → jgriffin
Blocks: 841091
Blocks: 841128
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: