git-svn-id: http://ncclient.googlecode.com/svn/trunk@33 6dbcf712-26ac-11de-a2f3-13738...
authorShikhar Bhushan <shikhar@schmizz.net>
Mon, 20 Apr 2009 08:38:45 +0000 (08:38 +0000)
committerShikhar Bhushan <shikhar@schmizz.net>
Mon, 20 Apr 2009 08:38:45 +0000 (08:38 +0000)
ncclient/listener.py

index 6ed2481..b068793 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from content import rpc
+import content
 
 class SessionListener:
 
@@ -32,7 +32,7 @@ class SessionListener:
     ### Events
     
     def reply(self, raw):
-        id = rpc.parse(raw)
+        id = content.parse_message(raw)
         if id:
             self._id2rpc[id]._deliver(raw)
         else: