Skip to content

Commit

Permalink
Add VYPER_TRACEBACK_LIMIT environmental variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueswww committed Aug 13, 2018
1 parent 5258135 commit 65afb40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/vyper
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import argparse
import json
import os
import sys
import vyper

Expand All @@ -9,7 +10,7 @@ from vyper.parser.parser import parse_to_lll
from vyper.parser import parser_utils
from vyper import compile_lll

sys.tracebacklimit = 10
sys.tracebacklimit = os.environ.get('VYPER_TRACEBACK_LIMIT', 0)

parser = argparse.ArgumentParser(description='Vyper {0} programming language for Ethereum'.format(vyper.__version__))
parser.add_argument('input_file', help='Vyper sourcecode to compile')
Expand Down

0 comments on commit 65afb40

Please sign in to comment.