From 28878883e2f2065056ace727d767ec5db2543a80 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 20 Apr 2005 16:16:52 +0000 Subject: [PATCH] Doc updates + fix Win32 build git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1944 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/.cvsignore | 6 ++++++ bacula/examples/python/.cvsignore | 6 +++--- bacula/examples/python/EndJob.py | 11 ----------- bacula/examples/python/NewVolume.py | 12 ------------ bacula/examples/python/StartJob.py | 8 -------- bacula/src/version.h | 6 +++--- 6 files changed, 12 insertions(+), 37 deletions(-) delete mode 100644 bacula/examples/python/EndJob.py delete mode 100644 bacula/examples/python/NewVolume.py delete mode 100644 bacula/examples/python/StartJob.py diff --git a/bacula/.cvsignore b/bacula/.cvsignore index 02bb60a03e..1dbf598cbf 100644 --- a/bacula/.cvsignore +++ b/bacula/.cvsignore @@ -52,3 +52,9 @@ run_clean run_two_broken run_two run_clean_tape +newdb +kerns-nopython-conf +newtape +time.py +time.pyc +test.out diff --git a/bacula/examples/python/.cvsignore b/bacula/examples/python/.cvsignore index c294236e0e..83c0bbc9b0 100644 --- a/bacula/examples/python/.cvsignore +++ b/bacula/examples/python/.cvsignore @@ -1,3 +1,3 @@ -EndJob.pyc -NewVolume.pyc -StartJob.pyc +DirStartUp.pyc +FDStartUp.pyc +SDStartUp.pyc diff --git a/bacula/examples/python/EndJob.py b/bacula/examples/python/EndJob.py deleted file mode 100644 index f32df1f2f4..0000000000 --- a/bacula/examples/python/EndJob.py +++ /dev/null @@ -1,11 +0,0 @@ -import bacula - -def EndJob(jcr): - jobid = jcr.get("JobId") - client = jcr.get("Client") - jcr.set(JobReport="Python EndJob output: JobId=%d Client=%s.\n" % (jobid, client)) - if (jobid < 2) : - startid = bacula.run("run kernsave") - print "Python started new Job: jobid=", startid - - return 1 diff --git a/bacula/examples/python/NewVolume.py b/bacula/examples/python/NewVolume.py deleted file mode 100644 index 963fcfd1c5..0000000000 --- a/bacula/examples/python/NewVolume.py +++ /dev/null @@ -1,12 +0,0 @@ -import bacula - -def NewVolume(jcr): - jobid = jcr.get("JobId") - print "JobId=", jobid - client = jcr.get("Client") - print "Client=" + client - numvol = jcr.get("NumVols"); - print "NumVols=", numvol - jcr.set(JobReport="Python New Volume set for Job.\n") - jcr.set(VolumeName="TestA-001") - return 1 diff --git a/bacula/examples/python/StartJob.py b/bacula/examples/python/StartJob.py deleted file mode 100644 index 89559bfbc6..0000000000 --- a/bacula/examples/python/StartJob.py +++ /dev/null @@ -1,8 +0,0 @@ -import bacula - -def StartJob(jcr): - jobid = jcr.get("JobId") - client = jcr.get("Client") - numvols = jcr.get("NumVols") - jcr.set(JobReport="Python StartJob: JobId=%d Client=%s NumVols=%d\n" % (jobid,client,numvols)) - return 1 diff --git a/bacula/src/version.h b/bacula/src/version.h index f6bdf3001f..5eba91a939 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -1,8 +1,8 @@ /* */ #undef VERSION -#define VERSION "1.37.13" -#define BDATE "19 April 2005" -#define LSMDATE "19Apr05" +#define VERSION "1.37.14" +#define BDATE "20 April 2005" +#define LSMDATE "20Apr05" /* Debug flags */ #undef DEBUG -- 2.39.5