Skip to content

Commit 992af12

Browse files
authored
Merge pull request #107 from ax3l/fix-branchAlwaysString
Fix: Branch Param As String
2 parents d917426 + 76a1d70 commit 992af12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def load_params(args):
100100
# AMReX -- this will always be defined
101101
rdir = mysuite.check_test_dir(safe_get(cp, "AMReX", "dir"))
102102

103-
branch = convert_type(safe_get(cp, "AMReX", "branch"))
103+
branch = safe_get(cp, "AMReX", "branch") # note: always as string
104104
rhash = convert_type(safe_get(cp, "AMReX", "hash"))
105105

106106
mysuite.repos["AMReX"] = repo.Repo(mysuite, rdir, "AMReX",
@@ -127,7 +127,7 @@ def load_params(args):
127127
k = "source"
128128

129129
rdir = mysuite.check_test_dir(safe_get(cp, s, "dir"))
130-
branch = convert_type(safe_get(cp, s, "branch"))
130+
branch = safe_get(cp, s, "branch") # note: always as string
131131
rhash = convert_type(safe_get(cp, s, "hash"))
132132

133133

0 commit comments

Comments
 (0)