Bläddra i källkod

new location worked, now just adding terminal print out

Schultz 8 år sedan
förälder
incheckning
5007c86ab3
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      gitstats

+ 2
- 0
gitstats Visa fil

1630
         # execute git2json for top files
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'")
1631
         os.system("cd "+os.path.abspath(args[0])+" && git2json > '"+os.path.abspath(args[-1])+"/top_committed_files.json'")
1632
 
1632
 
1633
+        print ("Executed git2json on source: %s to location: %s" %(os.path.abspath(args[0]), os.path.abspath(args[-1])))
1634
+
1633
 if __name__=='__main__':
1635
 if __name__=='__main__':
1634
     g = GitStats()
1636
     g = GitStats()
1635
     g.run(sys.argv[1:])
1637
     g.run(sys.argv[1:])