| Index: sky/engine/bindings2/scripts/utilities.py
|
| diff --git a/sky/engine/bindings/scripts/utilities.py b/sky/engine/bindings2/scripts/utilities.py
|
| similarity index 91%
|
| copy from sky/engine/bindings/scripts/utilities.py
|
| copy to sky/engine/bindings2/scripts/utilities.py
|
| index 5dc5e7c6fb6e1eab76f31eb6b1377dde48250ad7..8e7745cd28cfc5afb28c00c10c371444340a83fa 100644
|
| --- a/sky/engine/bindings/scripts/utilities.py
|
| +++ b/sky/engine/bindings2/scripts/utilities.py
|
| @@ -39,21 +39,6 @@ def read_file_to_list(filename):
|
| return [line.rstrip('\n') for line in f]
|
|
|
|
|
| -def resolve_cygpath(cygdrive_names):
|
| - if not cygdrive_names:
|
| - return []
|
| - cmd = ['cygpath', '-f', '-', '-wa']
|
| - process = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
| - idl_file_names = []
|
| - for file_name in cygdrive_names:
|
| - process.stdin.write('%s\n' % file_name)
|
| - process.stdin.flush()
|
| - idl_file_names.append(process.stdout.readline().rstrip())
|
| - process.stdin.close()
|
| - process.wait()
|
| - return idl_file_names
|
| -
|
| -
|
| def read_idl_files_list_from_file(filename):
|
| """Similar to read_file_to_list, but also resolves cygpath."""
|
| with open(filename) as input_file:
|
| @@ -151,11 +136,6 @@ def is_callback_interface_from_idl(file_contents):
|
| return bool(match)
|
|
|
|
|
| -def is_dictionary_from_idl(file_contents):
|
| - match = re.search(r'dictionary\s+\w+\s*{', file_contents)
|
| - return bool(match)
|
| -
|
| -
|
| def get_parent_interface(file_contents):
|
| match = re.search(r'interface\s+'
|
| r'\w+\s*'
|
|
|