summaryrefslogtreecommitdiff
path: root/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2017-07-08 12:34:36 -0700
committerskullY <skullydazed@gmail.com>2017-07-08 12:34:36 -0700
commit6e2cae4cda122cfe58dc88dc181632d7b9521740 (patch)
tree89d9fe5e5d91f68d2e015ca8142bb7dcff0a01ad /lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
parent03706de94621f42a469b0c3c4a4e570dc14666dc (diff)
commit files with wrong line endings
Diffstat (limited to 'lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py')
-rw-r--r--lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py76
1 files changed, 38 insertions, 38 deletions
diff --git a/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py b/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
index ab787e8ec3..671bed9d56 100644
--- a/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
+++ b/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
@@ -1,38 +1,38 @@
-"""
- LUFA Library
- Copyright (C) Dean Camera, 2017.
-
- dean [at] fourwalledcubicle [dot] com
- www.lufa-lib.org
-"""
-
-import sys
-sys.path.append("ProjectGenerator")
-
-
-def show_message(message):
- print("[Project Generator] %s" % message)
- sys.stdout.flush()
-
-
-def main(lufa_root_path):
- try:
- from asf_avrstudio5_interface import PythonFacade
- except ImportError:
- print("Fatal Error: The ASF project generator is missing.")
- return 1
-
- p = PythonFacade(lufa_root_path)
-
- show_message("Checking database sanity...")
- p.check_extension_database_sanity(lufa_root_path)
-
- show_message("Building cache files...")
- p.generate_extension_cache_files(lufa_root_path)
-
- show_message("Cache files created.")
- return 0
-
-
-if __name__ == "__main__":
- sys.exit(main(sys.argv[1]))
+"""
+ LUFA Library
+ Copyright (C) Dean Camera, 2017.
+
+ dean [at] fourwalledcubicle [dot] com
+ www.lufa-lib.org
+"""
+
+import sys
+sys.path.append("ProjectGenerator")
+
+
+def show_message(message):
+ print("[Project Generator] %s" % message)
+ sys.stdout.flush()
+
+
+def main(lufa_root_path):
+ try:
+ from asf_avrstudio5_interface import PythonFacade
+ except ImportError:
+ print("Fatal Error: The ASF project generator is missing.")
+ return 1
+
+ p = PythonFacade(lufa_root_path)
+
+ show_message("Checking database sanity...")
+ p.check_extension_database_sanity(lufa_root_path)
+
+ show_message("Building cache files...")
+ p.generate_extension_cache_files(lufa_root_path)
+
+ show_message("Cache files created.")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main(sys.argv[1]))