From: Kern S. <ke...@us...> - 2005-04-30 19:41:52
|
Update of /cvsroot/bacula/bacula/examples/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14370 Modified Files: DirStartUp.py Log Message: Remove test Index: DirStartUp.py =================================================================== RCS file: /cvsroot/bacula/bacula/examples/python/DirStartUp.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- DirStartUp.py 30 Apr 2005 19:39:50 -0000 1.4 +++ DirStartUp.py 30 Apr 2005 19:41:43 -0000 1.5 @@ -21,8 +21,7 @@ """ events = JobEvents() # create instance of Job class events.job = job # save Bacula's job pointer -# job.set_events = events # register events desired - job.set_events(events) # register events desired + job.set_events = events # register events desired sys.stderr = events # send error output to Bacula sys.stdout = events # send stdout to Bacula jobid = job.JobId; client = job.Client |