Upgrade Doxygen config file to 1.8.18.
[pub/lufa.git] / LUFA / StudioIntegration / VSIX / generate_caches.py
index f5b6692..b5a97e4 100644 (file)
@@ -1,6 +1,6 @@
 """\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2013.\r
+     Copyright (C) Dean Camera, 2020.\r
 \r
   dean [at] fourwalledcubicle [dot] com\r
            www.lufa-lib.org\r
@@ -11,27 +11,27 @@ sys.path.append("ProjectGenerator")
 \r
 \r
 def show_message(message):\r
-       print "[Project Generator] %s" % message\r
-       sys.stdout.flush()\r
+    print("[Project Generator] %s" % message)\r
+    sys.stdout.flush()\r
 \r
 \r
 def main(lufa_root_path):\r
-       try:\r
-               from asf_avrstudio5_interface import PythonFacade\r
-       except ImportError:\r
-               print "Fatal Error: The ASF project generator is missing."\r
-               return 1\r
+    try:\r
+        from asf_avrstudio5_interface import PythonFacade\r
+    except ImportError:\r
+        print("Fatal Error: The ASF project generator is missing.")\r
+        return 1\r
 \r
-       p = PythonFacade(lufa_root_path)\r
+    p = PythonFacade(lufa_root_path)\r
 \r
-       show_message("Checking database sanity...")\r
-       p.check_extension_database_sanity(lufa_root_path)\r
+    show_message("Checking database sanity...")\r
+    p.check_extension_database_sanity(lufa_root_path)\r
 \r
-       show_message("Building cache files...")\r
-       p.generate_extension_cache_files(lufa_root_path)\r
+    show_message("Building cache files...")\r
+    p.generate_extension_cache_files(lufa_root_path)\r
 \r
-       show_message("Cache files created.")\r
-       return 0\r
+    show_message("Cache files created.")\r
+    return 0\r
 \r
 \r
 if __name__ == "__main__":\r