ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
sync_variables.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 from tempfile import mkdtemp
4 from subprocess import call
5 from shutil import rmtree, copytree
6 
7 temp_dir = mkdtemp()
8 
9 call(["git","clone","git@github.com:manuelfs/babymaker",temp_dir])
10 rmtree("txt/variables")
11 copytree(temp_dir+"/variables","txt/variables")
12 rmtree(temp_dir)