#Copying and distribution of this file, with or without modification, #are permitted in any medium without royalty provided the copyright #notice and this notice are preserved. import os import subprocess BASE = "https://gitorious.org/" repos = open("cloneall").read().split() for repo in repos: os.makedirs(repo) subprocess.call(["git","clone",BASE+repo+".git",repo])