Skip to content

Commit 7b39699

Browse files
Disable parallel logic by default because sometimes it doesn't work d… (kyuridenamida#37)
* Disable parallel logic by default because sometimes it doesn't work depending on user's environment * Fix .travis.yml
1 parent 2cbbed3 commit 7b39699

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ script:
1313
- flake8 --ignore=E501, W605
1414
- autopep8 -r . --diff | tee check_autopep8
1515
- test ! -s check_autopep8
16-
- atcoder-tools gen arc050 --without-login --no_parallel
16+
- atcoder-tools gen arc050 --without-login
1717
- nosetests --with-coverage --cover-package=atcodertools
1818
- codecov
1919
notifications:

atcodertools/tools/envgen.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ def main(prog, args):
224224
get_default_replacement_path('java'))
225225
)
226226

227-
parser.add_argument("--no_parallel",
227+
parser.add_argument("--parallel",
228228
action="store_true",
229-
help="Prepare problem directories one by one not using multi processors.",
229+
help="Prepare problem directories asynchronously using multi processors.",
230230
default=False)
231231

232232
parser.add_argument("--save-no-session-cache",
@@ -263,7 +263,7 @@ def main(prog, args):
263263
args.replacement if args.replacement is not None else get_default_replacement_path(
264264
args.lang),
265265
args.lang,
266-
not args.no_parallel)
266+
args.parallel)
267267

268268

269269
if __name__ == "__main__":

0 commit comments

Comments
 (0)