|
From: <di...@us...> - 2012-12-29 13:57:11
|
Revision: 830
http://safekeep.svn.sourceforge.net/safekeep/?rev=830&view=rev
Author: dimi
Date: 2012-12-29 13:57:05 +0000 (Sat, 29 Dec 2012)
Log Message:
-----------
Don't hardcode the config file more than once
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2012-12-29 09:33:33 UTC (rev 829)
+++ safekeep/trunk/safekeep 2012-12-29 13:57:05 UTC (rev 830)
@@ -1828,7 +1828,7 @@
sys.exit(2)
elif o in ('-e', '--email'):
warn('The -e/--email options are deprecated and will be removed in the future')
- warn('Please use the /etc/safekeep/safekeep.conf file instead')
+ warn('Please use the %s instead' % (config_file))
if 'to' in email:
email['to'].append(a)
else:
@@ -1837,7 +1837,7 @@
usage(0)
elif o in ('-s', '--smtp'):
warn('The -s/--smtp options are deprecated and will be removed in the future')
- warn('Please use the /etc/safekeep/safekeep.conf file instead')
+ warn('Please use the %s instead' % (config_file))
email['smtp'] = a
elif o in ('--server', ):
if mode: usage(2)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|