Mercurial > p > roundup > code
comparison roundup/init.py @ 1103:db787cef1385
handled some XXXs
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Sep 2002 12:44:42 +0000 |
| parents | 04a6b3bfbf23 |
| children | 378081f066cc |
comparison
equal
deleted
inserted
replaced
| 1102:d94bd5369456 | 1103:db787cef1385 |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: init.py,v 1.23 2002-09-09 23:55:19 richard Exp $ | 18 # $Id: init.py,v 1.24 2002-09-10 12:44:42 richard Exp $ |
| 19 | 19 |
| 20 __doc__ = """ | 20 __doc__ = """ |
| 21 Init (create) a roundup instance. | 21 Init (create) a roundup instance. |
| 22 """ | 22 """ |
| 23 | 23 |
| 34 If the optional symlinks flag is true, symbolic links in the | 34 If the optional symlinks flag is true, symbolic links in the |
| 35 source tree result in symbolic links in the destination tree; if | 35 source tree result in symbolic links in the destination tree; if |
| 36 it is false, the contents of the files pointed to by symbolic | 36 it is false, the contents of the files pointed to by symbolic |
| 37 links are copied. | 37 links are copied. |
| 38 | 38 |
| 39 XXX copied from shutil.py in std lib | 39 This was copied from shutil.py in std lib. |
| 40 | 40 |
| 41 """ | 41 """ |
| 42 names = os.listdir(src) | 42 names = os.listdir(src) |
| 43 try: | 43 try: |
| 44 os.mkdir(dst) | 44 os.mkdir(dst) |
