Narsil HF staff commited on
Commit
71eab75
·
verified ·
1 Parent(s): 380faf6

Figure out the bug !

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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