Guest User

Untitled

a guest
Jan 16th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. import os
  3.  
  4. def main():
  5. rootDir = "../"
  6. for f in os.listdir(rootDir):
  7. path = os.path.join(rootDir, f)
  8. print "Now pulling " + path
  9. os.chdir(path)
  10. os.system("git pull")
  11.  
  12. if __name__ == '__main__':
  13. main()
Add Comment
Please, Sign In to add comment