Skip to content

Commit 804784b

Browse files
committed
[hands-on] Add time.sleep(1) to relevant hands-on
1 parent b3d4df9 commit 804784b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

hands_on/branch_delete.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import time
12
import os
23

34
from exercise_utils.file import create_or_update_file
@@ -30,4 +31,5 @@ def download(verbose: bool):
3031
commit("Add fantasy.txt", verbose)
3132

3233
checkout("main", False, verbose)
34+
time.sleep(1)
3335
merge_with_message("textbooks", False, "Merge branch textbooks", verbose)

hands_on/branch_rename.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import time
12
import os
23

34
from exercise_utils.file import create_or_update_file
@@ -43,4 +44,5 @@ def download(verbose: bool):
4344
commit("Add fantasy.txt", verbose)
4445

4546
checkout("main", False, verbose)
47+
time.sleep(1)
4648
merge_with_message("textbooks", False, "Merge branch textbooks", verbose)

hands_on/early_branch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import time
12
import os
23

34
from exercise_utils.file import create_or_update_file, append_to_file
@@ -62,4 +63,5 @@ def download(verbose: bool):
6263
checkout("main", False, verbose)
6364
append_to_file("tennis.txt", "Martina Navratilova")
6465
add(["tennis.txt"], verbose)
66+
time.sleep(1)
6567
commit("Add Martina to tennis.txt", verbose)

0 commit comments

Comments
 (0)