Commit 70b35ea
committed
Remove @Pyro4.behavior(instance_mode='single') (issue #49)
Setting Pyro's instance mode behaviour to 'single' means that a single
instance of the decorated class is created and used for all methods
calls. This is the same as creating and registering an instance with
the Pyro daemon which is what deviceserver already does.
This commit removes those decorators which are doing nothing. This
makes the concrete classes independent of Pyro.1 parent ccacb44 commit 70b35ea
File tree
4 files changed
+1
-10
lines changed- microscope
- cameras
- testsuite
4 files changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
179 | | - | |
| 178 | + | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
1181 | | - | |
1182 | 1181 | | |
1183 | 1182 | | |
1184 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
140 | | - | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| |||
381 | 379 | | |
382 | 380 | | |
383 | 381 | | |
384 | | - | |
385 | 382 | | |
386 | 383 | | |
387 | 384 | | |
| |||
424 | 421 | | |
425 | 422 | | |
426 | 423 | | |
427 | | - | |
428 | 424 | | |
429 | 425 | | |
430 | 426 | | |
| |||
0 commit comments