File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -663,8 +663,6 @@ class GitDataCollector(DataCollector):
663
663
664
664
for name in self .authors .keys ():
665
665
a = self .authors [name ]
666
- #if a is None:
667
- # continue
668
666
a ['commits_frac' ] = (100 * float (a ['commits' ])) / self .getTotalCommits ()
669
667
date_first = datetime .datetime .fromtimestamp (a ['first_commit_stamp' ])
670
668
date_last = datetime .datetime .fromtimestamp (a ['last_commit_stamp' ])
@@ -1445,6 +1443,8 @@ class GitStats:
1445
1443
raise KeyError ('no such key "%s" in config' % key )
1446
1444
if isinstance (conf [key ], int ):
1447
1445
conf [key ] = int (value )
1446
+ elif isinstance (conf [key ], list ):
1447
+ conf [key ].append (value )
1448
1448
else :
1449
1449
conf [key ] = value
1450
1450
elif o in ('-h' , '--help' ):
@@ -1510,5 +1510,3 @@ if __name__=='__main__':
1510
1510
g = GitStats ()
1511
1511
g .run (sys .argv [1 :])
1512
1512
1513
-
1514
- mon @open - freelancer :~ / dev / go / src / openfreelancers $
You can’t perform that action at this time.
0 commit comments