~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: mattgiuca
  • Date: 2008-02-21 05:03:21 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:529
setup.py: Fixed copytree; now able to handle copying a directory over itself
(just does nothing).
usrmgt-server: Fixed all the commented out prints, replacing them with calls
to a "log" function which is configurable as to whether it prints or not.
makeuser.py: Removed the creation of jails.
    Now it creates a unix account, and a database entry.
    It *shouldn't* be creating a unix account still. (?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1009
1009
    directories as necessary.
1010
1010
 
1011
1011
    See shutil.copytree."""
 
1012
    # Allow copying over itself
 
1013
    if (os.path.normpath(os.path.join(os.getcwd(),src)) ==
 
1014
        os.path.normpath(os.path.join(os.getcwd(),dst))):
 
1015
        return
1012
1016
    action_remove(dst, dry)
1013
1017
    print "cp -r", src, dst
1014
1018
    if dry: return