File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ sudo apt-get install -y debhelper devscripts dh-apparmor dh-python python python
9
9
pip install coverage coveralls
10
10
11
11
coverage run setup.py test # tests still to be implemented
12
- coveralls
12
+ coveralls || true
13
13
14
14
./scripts/build.sh -d trusty -t $TRAVIS_COMMIT -n
Original file line number Diff line number Diff line change @@ -169,20 +169,18 @@ def remote_shutdown(self):
169
169
reactor .stop ()
170
170
171
171
172
- @defer .inlineCallbacks
173
172
def rpc (f , * args , ** kwargs ):
174
173
d = rpc_factory .getRootObject ()
175
174
d .addCallback (lambda obj : obj .callRemote (f , * args , ** kwargs ))
176
- ret = yield d
177
- defer .returnValue (ret )
175
+ return d
178
176
179
177
180
178
def rpc_log (msg ):
181
- rpc ("log_debug" , str (msg ))
179
+ return rpc ("log_debug" , str (msg ))
182
180
183
181
184
182
def rpc_shutdown ():
185
- rpc ("shutdown" )
183
+ return rpc ("shutdown" )
186
184
187
185
188
186
class T2WPP (protocol .ProcessProtocol ):
You can’t perform that action at this time.
0 commit comments