[py-svn] pytest-xdist commit 3f47ac13adae: internally rename SlaveNode to SlaveSession which fits better

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Apr 26 18:53:01 CEST 2010


# HG changeset patch -- Bitbucket.org
# Project pytest-xdist
# URL http://bitbucket.org/hpk42/pytest-xdist/overview
# User holger krekel <holger at merlinux.eu>
# Date 1272289711 -7200
# Node ID 3f47ac13adae28d90269d63cabfe6d5c01bf0ee0
# Parent  e25fe5309e17578d9fab6b7661b4fd624086058e
internally rename SlaveNode to SlaveSession which fits better

--- a/xdist/txnode.py
+++ b/xdist/txnode.py
@@ -89,11 +89,11 @@ def install_slave(node):
         import os, sys 
         sys.path.insert(0, os.getcwd()) 
         from xdist.mypickle import PickleChannel
-        from xdist.txnode import SlaveNode
+        from xdist.txnode import SlaveSession
         channel.send("basicimport")
         channel = PickleChannel(channel)
-        slavenode = SlaveNode(channel)
-        slavenode.run()
+        session = SlaveSession(channel)
+        session.run()
     """)
     channel.receive()
     channel = PickleChannel(channel)
@@ -108,7 +108,7 @@ def install_slave(node):
     channel.send((config, node.slaveinput, basetemp, node.gateway.id))
     return channel
 
-class SlaveNode(object):
+class SlaveSession(object):
     def __init__(self, channel):
         self.channel = channel



More information about the pytest-commit mailing list