Closed Bug 706208 Opened 13 years ago Closed 13 years ago

Should be able to just import mozhttpd

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

Details

(Whiteboard: [mozbase])

Attachments

(1 file)

Currently mozhttpd lacks an __init__.py, so this does not work:

import mozhttpd

m = mozhttpd.MozHttpd()
m.start(block=True)
Assignee: nobody → wlachance
Whiteboard: [mozbase]
Comment on attachment 577697 [details] [diff] [review]
Bug 706208 - Should be able to just import mozhttpd

Please lose the shebang. There is nothing to be achieved from running this as a CLI script.  Other than that, looks fine.
Attachment #577697 - Flags: review?(jhammel) → review+
Pushed: https://github.com/mozilla/mozbase/commit/e803967dc669f53840befe1c2babc304a1c45da3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: