def get_repos(uname, ask = False, basedir = ''):
    print
    print uname % "Cloning repos from %s..."
    print
    gists = urllib.urlopen("https://api.github.com/users/%s/repos" % uname)
    if basedir:
        prep_directory(basedir)
    for item in json.loads(gists.readlines()[0]):
        name= item['full_name']
        if basedir:
            fpath = '/'.join([basedir, item['name']])
        else:
            fpath = item['name']
        if os.path.exists(fpath):
            continue
        cmd = "git clone git@github.com:%s.git %s" % (name, fpath)
        desc = item['description']
        url = item['html_url']
        process(cmd, item['name'], fpath, ask, desc,url, typ="repo")
        print
dataset/ETHPy150Open thearn/github-auto-tools/github_clonetools/clonetools.py/get_repos/swapped operands of `%`