]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Indent Python scripts. 18490/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 27 May 2025 15:52:52 +0000 (09:52 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 27 May 2025 15:52:52 +0000 (09:52 -0600)
contrib/utilities/build_primary_interface_unit.py

index 1f4b96159c0ffd82d0676eb61d5a23113ddb5a53..0cf670f707e57d3f19e288d449d4ad7b33ec0ef4 100644 (file)
@@ -35,16 +35,16 @@ print("module;")
 print("export module dealii;")
 
 # Go through all input files and check their exported module partitions:
-for module_input_file in sys.argv[1:] :
+for module_input_file in sys.argv[1:]:
     input = open(module_input_file, "r")
 
     # Read through the lines of the file and see where it exports a
     # module partition. Then 'export import' that partition:
-    for line in input :
+    for line in input:
         m = match_export.match(line)
-        if m :
+        if m:
             print("export import :" + m.group(1) + ";")
-            
+
             # A file can only contain a single interface module
             # partition. So once we found one, we can stop parsing.
-            break;
+            break

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.