add hint to pythons octal mode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								99b3b0789b
							
						
					
				
			
			
				commit
				
					
						4e3fec1e9e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -551,7 +551,7 @@ class Cdist:
 | 
				
			||||||
               if status.st_size == len(CODE_HEADER):
 | 
					               if status.st_size == len(CODE_HEADER):
 | 
				
			||||||
                  os.unlink(outfile)
 | 
					                  os.unlink(outfile)
 | 
				
			||||||
               else:
 | 
					               else:
 | 
				
			||||||
                  # Add header and make executable
 | 
					                  # Add header and make executable - identically to 0o700
 | 
				
			||||||
                  os.chmod(outfile, stat.S_IXUSR | stat.S_IRUSR | stat.S_IWUSR)
 | 
					                  os.chmod(outfile, stat.S_IXUSR | stat.S_IRUSR | stat.S_IWUSR)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if mode == "code":
 | 
					      if mode == "code":
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue