@@ -241,7 +241,7 @@ def validate_kwarg(key, target):
241
241
raise ValueError ('Wrong argument type: %s is not a list of %ss' % (key , val [0 ]))
242
242
raise ValueError ('Wrong argument type: %s is not a %s' % (key , val ))
243
243
244
- conduit = self .api .conduit
244
+ conduit = self .api ._conduit
245
245
246
246
if conduit :
247
247
# Already authenticated, add session key to json data
@@ -254,7 +254,7 @@ def validate_kwarg(key, target):
254
254
else :
255
255
# Authorization is required, silently auth the user
256
256
self .api .connect ()
257
- kwargs ['__conduit__' ] = self .api .conduit
257
+ kwargs ['__conduit__' ] = self .api ._conduit
258
258
259
259
url = urlparse .urlparse (self .api .host )
260
260
if url .scheme == 'https' :
@@ -319,7 +319,7 @@ def __init__(self, username=None, certificate=None, host=None,
319
319
self .client = 'python-phabricator'
320
320
self .clientVersion = 1
321
321
self .clientDescription = socket .gethostname () + ':python-phabricator'
322
- self .conduit = None
322
+ self ._conduit = None
323
323
324
324
super (Phabricator , self ).__init__ (self )
325
325
@@ -338,7 +338,7 @@ def connect(self):
338
338
response = auth (user = self .username , host = self .host ,
339
339
client = self .client , clientVersion = self .clientVersion )
340
340
341
- self .conduit = {
341
+ self ._conduit = {
342
342
'sessionKey' : response .sessionKey ,
343
343
'connectionID' : response .connectionID
344
344
}
0 commit comments