Index: Source/bindings/scripts/compute_interfaces_info.py |
diff --git a/Source/bindings/scripts/compute_interfaces_info.py b/Source/bindings/scripts/compute_interfaces_info.py |
index 8d425bf0bc7fdc4e4dde2fcb3e02edeae79d90ec..26e9f8732f0defce0c2034426045075f53fa9b77 100755 |
--- a/Source/bindings/scripts/compute_interfaces_info.py |
+++ b/Source/bindings/scripts/compute_interfaces_info.py |
@@ -268,6 +268,11 @@ def compute_interfaces_info(idl_files): |
}) |
+def compute(idl_files, interfaces_info_file, only_if_changed): |
Nils Barth (inactive)
2014/03/14 01:01:37
This won't be necessary (indeed, no changes to thi
terry
2014/03/14 16:12:54
Right with compute_interfaces_info no need for thi
|
+ compute_interfaces_info(idl_files) |
+ write_pickle_file(interfaces_info_file, interfaces_info, only_if_changed) |
+ |
+ |
################################################################################ |
def main(): |
@@ -282,10 +287,7 @@ def main(): |
# cannot be included in the file listing static files |
idl_files.extend(args) |
- compute_interfaces_info(idl_files) |
- write_pickle_file(options.interfaces_info_file, |
- interfaces_info, |
- options.write_file_only_if_changed) |
+ compute(idl_files, options.interfaces_info_file, options.write_file_only_if_changed) |
if __name__ == '__main__': |