Browse Source

moved it down to near main

Schultz 8 years ago
parent
commit
73bc6b818c
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      gitstats

+ 4
- 2
gitstats View File

1577
 
1577
 
1578
         rundir = os.getcwd()
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
         try:
1582
         try:
1584
             os.makedirs(outputpath)
1583
             os.makedirs(outputpath)
1627
             print
1626
             print
1628
             print '   sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
1627
             print '   sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
1629
             print
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
 if __name__=='__main__':
1633
 if __name__=='__main__':
1632
     g = GitStats()
1634
     g = GitStats()