@@ -231,7 +231,7 @@ def validate_kwarg(key, target):
231
231
raise ValueError ('Wrong arguemnt type: %s is not a list of %ss' % (k , resource ['required' ][k ][0 ]))
232
232
raise ValueError ('Wrong arguemnt type: %s is not a %s' % (k , resource ['required' ][k ]))
233
233
234
- conduit = self .api .conduit
234
+ conduit = self .api ._conduit
235
235
236
236
if conduit :
237
237
# Already authenticated, add session key to json data
@@ -244,7 +244,7 @@ def validate_kwarg(key, target):
244
244
else :
245
245
# Authorization is required, silently auth the user
246
246
self .api .connect ()
247
- kwargs ['__conduit__' ] = self .api .conduit
247
+ kwargs ['__conduit__' ] = self .api ._conduit
248
248
249
249
url = urlparse .urlparse (self .api .host )
250
250
if url .scheme == 'https' :
@@ -305,7 +305,7 @@ def __init__(self, username=None, certificate=None, host=None,
305
305
self .client = 'python-phabricator'
306
306
self .clientVersion = 1
307
307
self .clientDescription = socket .gethostname () + ':python-phabricator'
308
- self .conduit = None
308
+ self ._conduit = None
309
309
310
310
super (Phabricator , self ).__init__ (self )
311
311
@@ -318,7 +318,7 @@ def connect(self):
318
318
response = auth (user = self .username , host = self .host ,
319
319
client = self .client , clientVersion = self .clientVersion )
320
320
321
- self .conduit = {
321
+ self ._conduit = {
322
322
'sessionKey' : response .sessionKey ,
323
323
'connectionID' : response .connectionID
324
324
}
0 commit comments