mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-30 18:50:53 +00:00 
			
		
		
		
	Fixed syntax in readable_bash.py.
This commit is contained in:
		
							parent
							
								
									e6c354c312
								
							
						
					
					
						commit
						4f2d69d932
					
				| @ -125,13 +125,13 @@ def generate_documentation(): | ||||
| 
 | ||||
| 	parser = Source.parser() | ||||
| 	with open("setup/start.sh", "r") as start_file: | ||||
|                 for line in start_file: | ||||
|                         try: | ||||
|                                 fn = parser.parse_string(line).filename() | ||||
|                         except: | ||||
|                                 continue | ||||
|                         if fn in ("setup/start.sh", "setup/preflight.sh", "setup/questions.sh", "setup/firstuser.sh", "setup/management.sh"): | ||||
|                                 continue | ||||
| 		for line in start_file: | ||||
| 			try: | ||||
| 				fn = parser.parse_string(line).filename() | ||||
| 			except: | ||||
| 				continue | ||||
| 			if fn in ("setup/start.sh", "setup/preflight.sh", "setup/questions.sh", "setup/firstuser.sh", "setup/management.sh"): | ||||
| 				continue | ||||
| 
 | ||||
| 		import sys | ||||
| 		print(fn, file=sys.stderr) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user