[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
Thu Apr 12 10:31:41 CDT 2012


branch "master" has been updated
       via  a02be9ac84985a4ae3b9b43050c2ace3b4439cfa (commit)
      from  f75c28f13c57e4624f97412f96ccefd6bf89d0b0 (commit)

Summary of changes:
 ExampleConfigurator.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit a02be9ac84985a4ae3b9b43050c2ace3b4439cfa
Author: David M. Lee <dlee at digium.com>
Date:   Thu Apr 12 10:31:39 2012 -0500

    Updated example to new astscfLoadSlice function

diff --git a/ExampleConfigurator.py b/ExampleConfigurator.py
index ac27850..8f6b0f5 100755
--- a/ExampleConfigurator.py
+++ b/ExampleConfigurator.py
@@ -6,7 +6,7 @@
 import Ice, Configurator, sys
 
 # Load our component specific configuration definitions
-Ice.loadSlice('-I. --all ExampleConfigurationIf.ice')
+Configurator.astscfLoadSlice("example", "AsteriskSCF/System/Configuration/ExampleConfigurationIf.ice")
 import AsteriskSCF.System.Configuration.Example.V1
 
 # Add our own visitor implementations for the sections we support

-----------------------------------------------------------------------


-- 
asterisk-scf/release/configurator.git



More information about the asterisk-scf-commits mailing list