python --version
Python 2.7.10
subprocess.call(['git','clone',config.MY_GIT, config.DATA_DIR)
Lacks a closing ]. I don’t know where it should be.
grep subprocess *
[...]
sync.py: subprocess.call(['git', '-C', git_folder, 'add', '-A'])
sync.py: subprocess.call(['git', '-C', git_folder, 'commit', '-m', str(time.time())])
sync.py: subprocess.call(['git', '-C', git_folder, 'push', 'origin', 'master'])
[...]
@dysconnect: Help. 
Never mind, I think my brain decided to work again.
It would become git clone <MY_GIT> <DATA_DIR> as set in config, so:
subprocess.call(['git', 'clone', config.MY_GIT, config.DATA_DIR])
Right?