Figure out the bug !
Browse files
app.py
CHANGED
@@ -9,7 +9,10 @@ import os
|
|
9 |
|
10 |
def greet(name):
|
11 |
with tempfile.TemporaryDirectory() as d:
|
12 |
-
Repo.clone_from(name,d
|
|
|
|
|
|
|
13 |
|
14 |
return check_repo(d, datetime.datetime(2022, 1, 1), 10)
|
15 |
|
|
|
9 |
|
10 |
def greet(name):
|
11 |
with tempfile.TemporaryDirectory() as d:
|
12 |
+
Repo.clone_from(name, d)
|
13 |
+
repo = Repo(d)
|
14 |
+
for commit in repo.iter_commits():
|
15 |
+
print(commit)
|
16 |
|
17 |
return check_repo(d, datetime.datetime(2022, 1, 1), 10)
|
18 |
|