mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +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: |     if p.returncode: | ||||||
|         return None |         return None | ||||||
|     if sys.version_info[0] == 3 and isinstance(std, bytes): |     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: |     else: | ||||||
|         return std[:8] |         return std[:8] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user