aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-07-07 13:00:44 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-07-07 13:00:44 +0200
commit8d1376bbe92123465bbad9881832404e762d6342 (patch)
treecfc421c688275c6244eefb23af5a7eb8138fd9c0 /LUFA/StudioIntegration
parente9bf4bc84e66fa86d804ad1dbdede9bbd83c7a44 (diff)
downloadlufa-8d1376bbe92123465bbad9881832404e762d6342.tar.gz
lufa-8d1376bbe92123465bbad9881832404e762d6342.tar.bz2
lufa-8d1376bbe92123465bbad9881832404e762d6342.zip
Clean up Atmel Studio integration Python script according to PEP8 rules.
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r--LUFA/StudioIntegration/VSIX/generate_caches.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/LUFA/StudioIntegration/VSIX/generate_caches.py b/LUFA/StudioIntegration/VSIX/generate_caches.py
index f5b6692a9..c51cff400 100644
--- a/LUFA/StudioIntegration/VSIX/generate_caches.py
+++ b/LUFA/StudioIntegration/VSIX/generate_caches.py
@@ -11,27 +11,27 @@ sys.path.append("ProjectGenerator")
def show_message(message):
- print "[Project Generator] %s" % message
- sys.stdout.flush()
+ 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
+ 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)
+ p = PythonFacade(lufa_root_path)
- show_message("Checking database sanity...")
- p.check_extension_database_sanity(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("Building cache files...")
+ p.generate_extension_cache_files(lufa_root_path)
- show_message("Cache files created.")
- return 0
+ show_message("Cache files created.")
+ return 0
if __name__ == "__main__":