mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Remove useless debugging code
This commit is contained in:
@@ -952,18 +952,4 @@ if __name__ == "__main__":
|
||||
if e.errno != errno.EEXIST:
|
||||
raise
|
||||
|
||||
if True:
|
||||
parse_and_output_man_pages(file_paths, output_directory, show_progress)
|
||||
else:
|
||||
# Profiling code
|
||||
import cProfile, pstats
|
||||
cProfile.run('parse_and_output_man_pages(file_paths, output_directory, show_progress)', 'fooprof')
|
||||
p = pstats.Stats('fooprof')
|
||||
p.sort_stats('cumulative').print_stats(100)
|
||||
|
||||
# Here we can write out all the parser infos
|
||||
if False:
|
||||
for name in PARSER_INFO:
|
||||
print('Parser ' + name + ':')
|
||||
print('\t' + ', '.join(PARSER_INFO[name]))
|
||||
print('')
|
||||
parse_and_output_man_pages(file_paths, output_directory, show_progress)
|
||||
|
||||
Reference in New Issue
Block a user