forked from ungleich-public/cdist
		
	Fix pycodestyle
This commit is contained in:
		
					parent
					
						
							
								7195b594f3
							
						
					
				
			
			
				commit
				
					
						d604a9db7a
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -315,7 +315,7 @@ class InventoryHost(Inventory):
 | 
				
			||||||
        hostpath = self._host_path(host)
 | 
					        hostpath = self._host_path(host)
 | 
				
			||||||
        self.log.trace("hostpath: {}".format(hostpath))
 | 
					        self.log.trace("hostpath: {}".format(hostpath))
 | 
				
			||||||
        if self.action == "add" and not os.path.exists(hostpath):
 | 
					        if self.action == "add" and not os.path.exists(hostpath):
 | 
				
			||||||
                self._new_hostpath(hostpath)
 | 
					            self._new_hostpath(hostpath)
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            if not os.path.isfile(hostpath):
 | 
					            if not os.path.isfile(hostpath):
 | 
				
			||||||
                raise cdist.Error(("Host path \'{}\' is"
 | 
					                raise cdist.Error(("Host path \'{}\' is"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue