Mercurial > p > roundup > code
comparison roundup/init.py @ 26:c7c14960f413
Final commit of Grande Splite
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 22 Jul 2001 12:09:32 +0000 |
| parents | 4cf1daf2f2eb |
| children | 3a7e5515c1bd |
comparison
equal
deleted
inserted
replaced
| 25:4cf1daf2f2eb | 26:c7c14960f413 |
|---|---|
| 1 # $Id: init.py,v 1.2 2001-07-22 12:09:32 richard Exp $ | |
| 2 | |
| 1 import os, shutil, sys | 3 import os, shutil, sys |
| 2 | 4 |
| 3 def copytree(src, dst, symlinks=0): | 5 def copytree(src, dst, symlinks=0): |
| 4 """Recursively copy a directory tree using copy2(). | 6 """Recursively copy a directory tree using copy2(). |
| 5 | 7 |
| 41 path, instance = os.path.split(instance) | 43 path, instance = os.path.split(instance) |
| 42 sys.path.insert(0, path) | 44 sys.path.insert(0, path) |
| 43 instance = __import__(instance) | 45 instance = __import__(instance) |
| 44 instance.init(adminpw) | 46 instance.init(adminpw) |
| 45 | 47 |
| 48 # | |
| 49 # $Log: not supported by cvs2svn $ | |
| 50 # |
