[Spambayes-checkins] spambayes/Outlook2000/installer crank.py, 1.1, 1.2

Mark Hammond mhammond at users.sourceforge.net
Sun Aug 10 01:06:14 EDT 2003


Update of /cvsroot/spambayes/spambayes/Outlook2000/installer
In directory sc8-pr-cvs1:/tmp/cvs-serv20277

Modified Files:
	crank.py 
Log Message:
Needs an absolute path.


Index: crank.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/installer/crank.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** crank.py	29 Jul 2003 01:18:58 -0000	1.1
--- crank.py	10 Aug 2003 07:06:12 -0000	1.2
***************
*** 9,13 ****
          return 1
  
!     this_dir = os.path.dirname(__file__)
      if os.path.exists(os.path.join(this_dir, "buildspambayes_addin")):
          shutil.rmtree(os.path.join(this_dir, "buildspambayes_addin"))
--- 9,13 ----
          return 1
  
!     this_dir = os.path.abspath(os.path.dirname(__file__))
      if os.path.exists(os.path.join(this_dir, "buildspambayes_addin")):
          shutil.rmtree(os.path.join(this_dir, "buildspambayes_addin"))





More information about the Spambayes-checkins mailing list