proj/__init__.py
def archive(folder, dry_run=False):
    "Move an active project to the archive."
    # error handling on archive_dir already done in main()

    for f in folder:
        if not os.path.exists(f):
            bail('folder does not exist: ' + f)

    _archive_safe(folder, PROJ_ARCHIVE, dry_run=dry_run)
def archive(folder, dry_run=False):
    "Move an active project to the archive."
    # error handling on archive_dir already done in main()

    for f in folder:
        if not os.path.exists(f):
            bail('folder does not exist: ' + f)

    _archive_safe(folder, PROJ_ARCHIVE, dry_run=dry_run)
def archive ( folder , dry_run = False ) : # error handling on archive_dir already done in main() for f in folder : if not os . path . exists ( f ) : bail ( 'folder does not exist: ' + f ) _archive_safe ( folder , PROJ_ARCHIVE , dry_run = dry_run )
Move an active project to the archive.
Move an active project to the archive .