Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cdp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# changes, edit the generator and regenerate all of the modules.

import cdp.util
import cdp.connection

import cdp.accessibility
import cdp.animation
Expand Down
3 changes: 2 additions & 1 deletion generator/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,8 @@ def generate_init(init_path, domains):
'''
with init_path.open('w') as init_file:
init_file.write(INIT_HEADER)
init_file.write('import cdp.util\n\n')
init_file.write('import cdp.util\n')
init_file.write('import cdp.connection\n\n')
for domain in domains:
init_file.write('import cdp.{}\n'.format(domain.module))

Expand Down