From 0f4fb5c127ca2bd8b7cb0b860c7e4be66a080846 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 11 Apr 2024 18:23:06 -0400 Subject: [PATCH] change defaults --- commit.py | 2 +- create_git_repo.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commit.py b/commit.py index e8b8443..cbacb91 100755 --- a/commit.py +++ b/commit.py @@ -8,7 +8,7 @@ import subprocess VERSION_BEGIN_STR = "set(BLT_VERSION " VERSION_END_STR = ")" -PATCH_LIMIT = 1000 +PATCH_LIMIT = 100000 #--------------------------------------- # DO NOT TOUCH diff --git a/create_git_repo.py b/create_git_repo.py index 5f21d45..ebc824d 100755 --- a/create_git_repo.py +++ b/create_git_repo.py @@ -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: