[Digicool-CVS] CVS: CVSROOT - postcommit_actions:1.111

klm@cvs.baymountain.com klm@cvs.baymountain.com
Mon, 23 Jul 2001 12:50:38 -0400


Update of /cvs-repository/CVSROOT
In directory cvs.zope.org:/tmp/cvs-serv24170

Modified Files:
	postcommit_actions 
Log Message:
*** empty log message ***
 [debug - name:CVSROOT, repo:CVSROOT, fn:postcommit_actions
====== Updated CVSROOT/postcommit_actions, 1.110=>1.111 ======
 
 CVSROOT = os.environ.get('CVSROOT', '/cvs-repository')
+os.chdir('/tmp')                        # So we have a valid working directory.
 
 #SMTP_SERVER = 'smtp.digicool.com'
 #SENDER_ADDR = '"Digicool CVS" <cvs@digicool.com>'
@@ -439,8 +440,8 @@
             lines.insert(0, insert_str)
         except IOError, e:
             lines = ['***** ERROR reading new file: ',
-                     str(e), '\n***** file: ', file, '
-                     cwd: ', safe_getcwd('/tmp')]
+                     str(e), '\n***** file: ', file,
+                     ' cwd: ', safe_getcwd('/tmp')]
 
     else:                # A "normal" update happened
         diff_cmd = ('cvs -d %s -f rdiff -kk -u -t %s/%s'