File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 55import argparse
66import sys
77import os
8- import shutil
8+ # import shutil
99from fosslight_util .help import print_package_version
1010from fosslight_binary ._help import print_help_msg
1111from fosslight_binary .binary_analysis import find_binaries
1212from fosslight_util .timer_thread import TimerThread
1313
1414_PKG_NAME = "fosslight_binary"
1515
16-
16+ '''
1717def get_terminal_size():
1818 size = shutil.get_terminal_size()
1919 return size.lines
@@ -29,7 +29,7 @@ def paginate_file(file_path):
2929 print(''.join(lines[i: i + lines_per_page]))
3030 if i + lines_per_page < len(lines):
3131 input("Press Enter to see the next page...")
32-
32+ '''
3333
3434def main ():
3535 global windows
@@ -105,8 +105,8 @@ def main():
105105 for ff in os .listdir (data_path ):
106106 source_file = os .path .join (data_path , ff , 'r' , encoding = 'utf8' )
107107 destination_file = os .path .join (base_path , ff , 'w' , encoding = 'utf8' )
108- paginate_file (source_file )
109- shutil .copyfile (source_file , destination_file )
108+ # paginate_file(source_file)
109+ # shutil.copyfile(source_file, destination_file)
110110 sys .exit (0 )
111111
112112 timer = TimerThread ()
You can’t perform that action at this time.
0 commit comments