Revision 28d42b28

/dev/null
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Komodo Project File - DO NOT EDIT -->
3
<project id="f5560a11-15e2-4c25-b6c2-84cc72e939fb" kpf_version="4" name="ncclient.kpf">
4
<preference-set idref="a7a1f1aa-d22c-4dc4-8cc7-a8cd8ce97f8a">
5
<preference-set id="Invocations">
6
<preference-set id="default">
7
  <string id="cookieparams"></string>
8
  <string id="cwd"></string>
9
  <string id="documentRoot"></string>
10
  <string id="executable-params"></string>
11
  <string relative="path" id="filename">src/session/ssh.py</string>
12
  <string id="getparams"></string>
13
  <string id="language">Python</string>
14
  <string id="mpostparams"></string>
15
  <string id="params"></string>
16
  <string id="postparams"></string>
17
  <string id="posttype">application/x-www-form-urlencoded</string>
18
  <string id="request-method">GET</string>
19
  <boolean id="show-dialog">1</boolean>
20
  <boolean id="sim-cgi">0</boolean>
21
  <boolean id="use-console">0</boolean>
22
  <string id="userCGIEnvironment"></string>
23
  <string id="userEnvironment"></string>
24
</preference-set>
25
</preference-set>
26
  <string id="lastInvocation">default</string>
27
</preference-set>
28
<preference-set idref="f5560a11-15e2-4c25-b6c2-84cc72e939fb">
29
  <string id="donotask_action_remotedebug_mapped_uri"></string>
30
  <boolean id="donotask_remotedebug_mapped_uri">0</boolean>
31
  <string id="import_exclude_matches">*.*~;*.bak;*.tmp;CVS;.#*;*.pyo;*.pyc;.svn;*%*;tmp*.html;.DS_Store</string>
32
  <string id="import_include_matches"></string>
33
  <boolean id="import_live">1</boolean>
34
  <boolean id="import_recursive">1</boolean>
35
  <string id="import_type">useFolders</string>
36
  <string id="javascriptExtraPaths"></string>
37
  <string id="lastTestPlanName_pref">New test plan #1</string>
38
  <string id="mappedPaths"></string>
39
  <string id="pythonExtraPaths"></string>
40
  <string id="tclExtraPaths"></string>
41
<preference-set id="testPlans">
42
<preference-set id="New test plan #1">
43
  <string id="command_line"></string>
44
  <string relative="url" id="directory"></string>
45
  <string id="language">Perl - TAP (*.t)</string>
46
</preference-set>
47
</preference-set>
48
</preference-set>
49
</project>
b/test.py
5 5

  
6 6
with manager.connect('broccoli', 22, username='sbhushan') as m:
7 7
    with m.locked('candidate'):
8
        print m.copy_config(source='running', target='candidate')
8
        reply = m.copy_config(source='running', target='candidate')
9 9

  
10 10
print reply

Also available in: Unified diff