mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	Merge comparisons with 'in'
This commit is contained in:
		
							parent
							
								
									f4739ef3c0
								
							
						
					
					
						commit
						cf0100cf11
					
				
					 6 changed files with 19 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -616,7 +616,7 @@ if __name__ == '__main__':
 | 
			
		|||
            virt = subprocess.check_output('/usr/bin/systemd-detect-virt').strip().decode('utf-8')
 | 
			
		||||
        except subprocess.CalledProcessError:
 | 
			
		||||
            virt = 'none'
 | 
			
		||||
        if virt == 'qemu' or virt == 'kvm' or virt == 'bochs':
 | 
			
		||||
        if virt in ('qemu', 'kvm', 'bochs'):
 | 
			
		||||
            logging.info('Running in a VM guest, defaulting to QEMU/KVM via libvirt')
 | 
			
		||||
            config['vm_provider'] = 'libvirt'
 | 
			
		||||
        elif virt != 'none':
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue