fix some check-code violations

Summary:
1) Export and variable setting on separate lines.
2) 80-col.

Test Plan: python ../../hg-crew/tests/run-tests.py --with-hg ../../hg-crew/hg test-manifestdiskcache.t test-check-code.t

Reviewers: #sourcecontrol, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, ikostia, mitrandir

Differential Revision: https://phabricator.fb.com/D2903291

Signature: t1:2903291:1454630884:b51a536e05c59a84e3ac1d1bc91e5e1952edee6f
This commit is contained in:
Tony Tung 2016-02-04 16:24:31 -08:00
parent e8afb24cc7
commit 942f1d6a8b
2 changed files with 6 additions and 3 deletions

View File

@ -461,8 +461,10 @@ Excludes:
try:
enabled = True
if masterrevset == 'tip':
# 'tip' is what _masterrevset always returns when it can't find master or @
ui.warn("warning: there is no master commit locally, try pulling from server\n")
# 'tip' is what _masterrevset always returns when it can't find
# master or @
ui.warn(("warning: there is no master commit locally, try pulling "
"from server\n"))
revdag = getdag(ui, repo, revs, masterrev)
displayer = cmdutil.show_changeset(ui, repo, opts, buffered=True)

View File

@ -1,6 +1,7 @@
Setup
$ export PYTHONPATH=$TESTDIR/..:$PYTHONPATH
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
$ export PYTHONPATH
Test functionality is present