Skip to content

Commit

Permalink
fix issue in metoflexi
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Apr 3, 2024
1 parent 152bad9 commit 5a1e5f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git_fleximod/metoflexi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def find_root_dir(filename=".git"):
while d != root:
attempt = d / filename
if attempt.is_dir():
return attempt
return d
d = d.parent
return None

Expand Down Expand Up @@ -146,7 +146,7 @@ def translate_single_repo(self, section, tag, url, path, efile, hash_, sparse, p
if hash_:
self.gitmodules.set(section, "fxtag", hash_)

self.gitmodules.set(section, "fxurl", url)
self.gitmodules.set(section, "fxDONOTUSEurl", url)
if sparse:
self.gitmodules.set(section, "fxsparse", sparse)
self.gitmodules.set(section, "fxrequired", "ToplevelRequired")
Expand Down Expand Up @@ -187,7 +187,7 @@ def translate_single_repo(self, section, tag, url, path, efile, hash_, sparse, p
if hash_:
self.gitmodules.set(section, "fxtag", hash_)

self.gitmodules.set(section, "fxurl", url)
self.gitmodules.set(section, "fxDONOTUSEurl", url)
if sparse:
self.gitmodules.set(section, "fxsparse", sparse)
self.gitmodules.set(section, "fxrequired", "ToplevelRequired")
Expand Down

0 comments on commit 5a1e5f6

Please sign in to comment.