change defaults
parent
3279bea5ab
commit
0f4fb5c127
|
@ -8,7 +8,7 @@ import subprocess
|
|||
|
||||
VERSION_BEGIN_STR = "set(BLT_VERSION "
|
||||
VERSION_END_STR = ")"
|
||||
PATCH_LIMIT = 1000
|
||||
PATCH_LIMIT = 100000
|
||||
|
||||
#---------------------------------------
|
||||
# DO NOT TOUCH
|
||||
|
|
|
@ -11,7 +11,7 @@ parser = argparse.ArgumentParser(
|
|||
epilog='Hello')
|
||||
|
||||
parser.add_argument('repo_name')
|
||||
parser.add_argument('-e', help="environment file", required=False, default=None)
|
||||
parser.add_argument('-e', help="environment file", required=False, default="~/.brett_scripts.env")
|
||||
parser.add_argument('-d', '--description', default = "")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
@ -19,7 +19,7 @@ args = parser.parse_args()
|
|||
github_token = ''
|
||||
gitea_token = ''
|
||||
|
||||
if args.e is not None:
|
||||
if (args.e is not None) and not (args.e == 'env'):
|
||||
f = open(args.e, "rt")
|
||||
values = {}
|
||||
for line in f:
|
||||
|
|
Loading…
Reference in New Issue