瀏覽代碼

Make parameters more reachable in bootstrap.py

Yentl Van Tendeloo 8 年之前
父節點
當前提交
4c0a105388
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      bootstrap/bootstrap.py

+ 3 - 4
bootstrap/bootstrap.py

@@ -7,7 +7,10 @@ import gzip
 def bootstrap():
     root = ["__hierarchy"]
 
+    user_manager = "user_manager"
     bootstrap_files = glob.glob("bootstrap/*.alc")
+    initial_code_manager = "bootstrap/initial_code_manager.alc"
+    initial_code_user = "bootstrap/initial_code_user.alc"
 
     user_data = [   "input",
                     "output",
@@ -105,10 +108,6 @@ def bootstrap():
                     "time": ["Float"],
                 }
 
-    user_manager = "user_manager"
-    initial_code_manager = "bootstrap/initial_code_manager.alc"
-    initial_code_user = "bootstrap/initial_code_user.alc"
-
     ### Actual script to generate the file
     import os
     import sys