Sfoglia il codice sorgente

moved it down to near main

Schultz 8 anni fa
parent
commit
73bc6b818c
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4
    2
      gitstats

+ 4
- 2
gitstats Vedi File

@@ -1577,8 +1577,7 @@ class GitStats:
1577 1577
 
1578 1578
         rundir = os.getcwd()
1579 1579
 
1580
-         # execute git2json for top files
1581
-        os.system("cd "+os.path.abspath(args[0])+" && git2json > '"+os.path.abspath(args[-1])+"/top_committed_files.json'")
1580
+         
1582 1581
 
1583 1582
         try:
1584 1583
             os.makedirs(outputpath)
@@ -1627,6 +1626,9 @@ class GitStats:
1627 1626
             print
1628 1627
             print '   sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
1629 1628
             print
1629
+        
1630
+        # execute git2json for top files
1631
+        os.system("cd "+os.path.abspath(args[0])+" && git2json > '"+os.path.abspath(args[-1])+"/top_committed_files.json'")
1630 1632
 
1631 1633
 if __name__=='__main__':
1632 1634
     g = GitStats()