[asterisk-scf-commits] asterisk-scf/release/configurator.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue May 24 11:02:28 CDT 2011
branch "master" has been updated
via 5652963f45288888f1716b32d4784b89d208b8cc (commit)
from 31ffb84646d9608f6ed38c088335be459244b7d3 (commit)
Summary of changes:
Configurator.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 5652963f45288888f1716b32d4784b89d208b8cc
Author: Joshua Colp <jcolp at digium.com>
Date: Tue May 24 13:02:01 2011 -0300
Output the filename of the script using the Configurator, not the Configurator filename itself.
diff --git a/Configurator.py b/Configurator.py
index 2b3f9a5..831441f 100755
--- a/Configurator.py
+++ b/Configurator.py
@@ -179,7 +179,7 @@ class ConfiguratorApp(Ice.Application):
configurationService = AsteriskSCF.System.Configuration.V1.ConfigurationServicePrx.uncheckedCast(service)
if configurationService == None:
- print >> sys.stderr, "No configuration service to configure. For usage details please run " + __file__ + " --help"
+ print >> sys.stderr, "No configuration service to configure. For usage details please run " + sys.argv[0] + " --help"
return -1
print "Reading configuration from file " + configFile
-----------------------------------------------------------------------
--
asterisk-scf/release/configurator.git
More information about the asterisk-scf-commits
mailing list