Skip to content

Commit

Permalink
revert: add file creation to copy_from_upstream.py
Browse files Browse the repository at this point in the history
Signed-off-by: rtjk <[email protected]>
  • Loading branch information
rtjk committed Nov 9, 2024
1 parent d9330b7 commit c77f5f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/copy_from_upstream/copy_from_upstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def generator(destination_file_path, template_filename, delimiter, family, schem
template = file_get_contents(
os.path.join(os.environ['LIBOQS_DIR'], 'scripts', 'copy_from_upstream', template_filename))
f = copy.deepcopy(family)
if not os.path.exists(os.path.join(os.environ['LIBOQS_DIR'], destination_file_path)):
open(os.path.join(os.environ['LIBOQS_DIR'], destination_file_path), 'a').close()
contents = file_get_contents(os.path.join(os.environ['LIBOQS_DIR'], destination_file_path))
if scheme_desired != None:
f['schemes'] = [x for x in f['schemes'] if x == scheme_desired]
Expand Down

0 comments on commit c77f5f1

Please sign in to comment.