mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	framework/version: Specify default encoding when parsing commit id
This commit is contained in:
		| @@ -47,6 +47,6 @@ def get_commit(): | ||||
|     if p.returncode: | ||||
|         return None | ||||
|     if sys.version_info[0] == 3 and isinstance(std, bytes): | ||||
|         return std[:8].decode(sys.stdout.encoding) | ||||
|         return std[:8].decode(sys.stdout.encoding or 'utf-8') | ||||
|     else: | ||||
|         return std[:8] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user