Skip to content

Commit c7ce8cf

Browse files
authored
Merge pull request #61 from douglasdcm/master
Expose connection module
2 parents 5dbc6f5 + a0de75f commit c7ce8cf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cdp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# changes, edit the generator and regenerate all of the modules.
55

66
import cdp.util
7+
import cdp.connection
78

89
import cdp.accessibility
910
import cdp.animation

generator/generate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,8 @@ def generate_init(init_path, domains):
964964
'''
965965
with init_path.open('w') as init_file:
966966
init_file.write(INIT_HEADER)
967-
init_file.write('import cdp.util\n\n')
967+
init_file.write('import cdp.util\n')
968+
init_file.write('import cdp.connection\n\n')
968969
for domain in domains:
969970
init_file.write('import cdp.{}\n'.format(domain.module))
970971

0 commit comments

Comments
 (0)