[Spambayes-checkins] spambayes/Outlook2000 export.py,1.5,1.6
Mark Hammond
mhammond at users.sourceforge.net
Sat May 3 06:22:02 EDT 2003
- Previous message: [Spambayes-checkins] spambayes/spambayes ImapUI.py, 1.7,
1.8 ProxyUI.py, 1.4, 1.5 OptionConfig.py, 1.10, NONE
- Next message: [Spambayes-checkins] spambayes/Outlook2000 addin.py, 1.54,
1.55 manager.py, 1.55, 1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/spambayes/spambayes/Outlook2000
In directory sc8-pr-cvs1:/tmp/cvs-serv17835
Modified Files:
export.py
Log Message:
Correct usage info wrt default directory
Index: export.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/export.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** export.py 2 May 2003 04:05:11 -0000 1.5
--- export.py 3 May 2003 12:21:59 -0000 1.6
***************
*** 5,8 ****
--- 5,9 ----
files_per_directory = 400
+ default_directory = "..\\testtools\\Data"
def BuildBuckets(manager):
***************
*** 99,103 ****
if len(args)==0:
! directory = os.path.join(os.path.dirname(sys.argv[0]), "..\\testtools\\Data")
else:
directory = args[0]
--- 100,104 ----
if len(args)==0:
! directory = os.path.join(os.path.dirname(sys.argv[0]), default_directory)
else:
directory = args[0]
***************
*** 125,133 ****
in the "Standard Test Data Setup" section.
! If 'directory' is not specified, '..\\testtools\Data' is assumed.
If 'directory' exists, it will be recursively deleted before
the export (but you will be asked to confirm unless -q is given).""" \
! % (os.path.basename(sys.argv[0]), files_per_directory)
sys.exit(1)
--- 126,134 ----
in the "Standard Test Data Setup" section.
! If 'directory' is not specified, '%s' is assumed.
If 'directory' exists, it will be recursively deleted before
the export (but you will be asked to confirm unless -q is given).""" \
! % (os.path.basename(sys.argv[0]), files_per_directory, default_directory)
sys.exit(1)
- Previous message: [Spambayes-checkins] spambayes/spambayes ImapUI.py, 1.7,
1.8 ProxyUI.py, 1.4, 1.5 OptionConfig.py, 1.10, NONE
- Next message: [Spambayes-checkins] spambayes/Outlook2000 addin.py, 1.54,
1.55 manager.py, 1.55, 1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Spambayes-checkins
mailing list