Skip to content

Commit 3eaaf02

Browse files
committed
Remove debugging code.
1 parent 6cad15f commit 3eaaf02

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.lib/git-fleximod/git_fleximod/submodule.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,13 +399,9 @@ async def update(self):
399399
if not set(self.fxtag) <= allowed:
400400
# This is a tag
401401
tag = f"refs/tags/{self.fxtag}:refs/tags/{self.fxtag}"
402-
#status,_ = smgit.git_operation("fetch", newremote, tag)
403-
status, jn = smgit.git_operation("fetch", newremote, tag)
404-
print("Successfully fetch tag? -JN", status, jn, self.fxtag) #DEBUG -JN
402+
status,_ = smgit.git_operation("fetch", newremote, tag)
405403
if status == 0:
406-
#status,_ = smgit.git_operation("checkout", self.fxtag)
407-
status,jn = smgit.git_operation("checkout", self.fxtag)
408-
print("Successfully checkout tag? -JN", status, jn, self.fxtag) #DEBUG -JN
404+
status,_ = smgit.git_operation("checkout", self.fxtag)
409405
if status:
410406
utils.fatal_error(
411407
f"Failed to checkout {self.name} at tag or hash {self.fxtag} from {repodir}"

.lib/git-fleximod/git_fleximod/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ def execute_subprocess(commands, status_to_caller=False, output_to_caller=False)
283283
kwargs={"working_directory": cwd, "command": commands_str},
284284
)
285285
hanging_timer.start()
286-
print("What are the commands? -JN", commands) #Debug -JN
287286
try:
288287
output = subprocess.check_output(
289288
commands, stderr=subprocess.STDOUT, universal_newlines=True

0 commit comments

Comments
 (0)