phabricator: fix lint warning

Summary: Fix lint.

Test Plan:
`test-check-code-hg.t` is now pasing
`test-check-config` is also passing

Reviewers: #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D1491
This commit is contained in:
Kostia Balytskyi 2017-11-22 15:16:10 -08:00
parent 60026b3811
commit e85582c7ce
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class Client(object):
'actAsUser': self._actas,
'caller': 'hg',
}
if self._oauth is not None:
if self._oauth is not None:
args['__conduit__']['accessToken'] = self._oauth
else:
token = '%d' % time.time()

View File

@ -60,7 +60,7 @@ New errors are not allowed. Warnings are strongly discouraged.
undocumented: remotefilelog.fetchpacks (bool)
undocumented: remotefilelog.fetchwarning (str)
undocumented: remotefilelog.getfilesstep (int) [10000]
undocumented: remotefilelog.getfilestype (str) ['threaded']
undocumented: remotefilelog.getfilestype (str) ['optimistic']
undocumented: remotefilelog.history.gencountlimit (int) [2]
undocumented: remotefilelog.includepattern (list)
undocumented: remotefilelog.pullprefetch (str)