A collection of routines to manage submission of exercises
This package contains tools used for a set of scripts to manage the
submission of exercises.
Imported modules
|
|
import cPickle
import grp
import locale
import os
import os.path
import pwd
import re
import string
import sys
import time
|
Functions
|
|
checktrees
chmodr
chmodx
copy
setuptree
|
|
checktrees
|
checktrees ( fn=configfile )
checktrees([fn]) -> None
Check a submission tree for the right permissions and set them
if necessary. This function might run for a very long time,
depending on the size of the submission tree.
|
|
chmodr
|
chmodr ( path, mode )
chmodr(path,mode) -> None
Recursive logical OR on mode mask of path
|
|
chmodx
|
chmodx ( path, mode )
chmodx(path,mode) -> None
logical OR on mode mask of path
|
|
copy
|
copy ( src, dest )
copy(src,dest) -> None
Copy a file from src to dest; no error checking is done
|
|
setuptree
|
setuptree (
user,
path,
group,
)
setuptree(user, path, group) -> None
create a submission tree starting at path
|
Classes
|
|
|
|