~wattazoum/python-schedule/devel

« back to all changes in this revision

Viewing changes to python-schedule/src/schedule/at.py

  • Committer: Oumar Aziz OUATTARA (alias wattazoum)
  • Date: 2007-10-22 20:20:06 UTC
  • Revision ID: wattazoum@gmail.com-20071022202006-7ut5sidsakdn42dt
Starting the modification of the api to be generic

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
class At:
33
33
        def __init__(self,root,user,uid,gid):
34
 
        
 
34
                """
 
35
                @param root: 0 if the user is not root, 1 otherwise
 
36
                @param user: The user name ( in string )  use pwd module to get those infos (userdb = pwd.getpwnam(user) )
 
37
                @param uid: 
 
38
                @param gid: 
 
39
                """
 
40
                
35
41
                #default preview length
36
42
                self.preview_len = 50
37
43
                self.root =     root