trogdor: update python scripts for python3
Change-Id: I46525243729c1dbcd30b346d4603452eea14ad9d Signed-off-by: T Michael Turney <mturney@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38558 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
		
				
					committed by
					
						
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							b1fa25fab7
						
					
				
				
					commit
					540b8ecc1e
				
			@@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/bin/env python2
 | 
			
		||||
#!/usr/bin/env python3
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2013 The Linux Foundation. All rights reserved.
 | 
			
		||||
#
 | 
			
		||||
@@ -97,7 +97,7 @@ def usage(msg=None):
 | 
			
		||||
    if msg != None:
 | 
			
		||||
        sys.stderr.write("%s: %s\n" % (PROG_NAME, msg))
 | 
			
		||||
 | 
			
		||||
    print "Usage: %s <base-addr> <input-file> <output-file>" % PROG_NAME
 | 
			
		||||
    print("Usage: %s <base-addr> <input-file> <output-file>" % PROG_NAME)
 | 
			
		||||
 | 
			
		||||
    if msg != None:
 | 
			
		||||
        exit(1)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user