[asterisk-scf-commits] asterisk-scf/integration/replica_tool.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Sep 22 20:05:00 CDT 2010


branch "master" has been updated
       via  7f2109621858bd9d3988115e0301becd99c9c2ec (commit)
      from  4b3b0c563adcc2634220996561838d6c2beff9d4 (commit)

Summary of changes:
 replica_tool.py    |    2 +-
 test/TestServer.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 7f2109621858bd9d3988115e0301becd99c9c2ec
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Sep 22 22:32:42 2010 -0230

    Track changes to slice interface

diff --git a/replica_tool.py b/replica_tool.py
index 38b1153..105ab2a 100644
--- a/replica_tool.py
+++ b/replica_tool.py
@@ -94,7 +94,7 @@ class ReplicaTool(Ice.Application):
             elif cmd == "standby":
                 obj.standby()
 
-            if obj.active() == True:
+            if obj.isActive() == True:
                 print prop, "is active"
             else:
                 print prop, "is on standby"
diff --git a/test/TestServer.py b/test/TestServer.py
index d185b04..821c965 100644
--- a/test/TestServer.py
+++ b/test/TestServer.py
@@ -28,7 +28,7 @@ class TestReplica(AsteriskSCF.System.Component.V1.Replica):
     def __init__(self):
         self.mStatus = False
         
-    def active(self, current=None):
+    def isActive(self, current=None):
         return self.mStatus
 
     def activate(self, current=None):

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


-- 
asterisk-scf/integration/replica_tool.git



More information about the asterisk-scf-commits mailing list