Revision ce5fb329 ncclient/operations/session.py

b/ncclient/operations/session.py
14 14

  
15 15
'Session-related NETCONF operations'
16 16

  
17
from copy import deepcopy
18

  
17 19
from rpc import RPC
18 20

  
19 21
class CloseSession(RPC):
......
48 50

  
49 51
        :seealso: :ref:`return`
50 52
        """
51
        spec = KillSession.SPEC.copy()
53
        spec = deepcopy(KillSession.SPEC)
52 54
        if not isinstance(session_id, basestring): # make sure
53 55
            session_id = str(session_id)
54 56
        spec['subtree'].append({

Also available in: Unified diff