a
This commit is contained in:
		
					parent
					
						
							
								cb2bbccfe1
							
						
					
				
			
			
				commit
				
					
						87ce3aa276
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -126,7 +126,7 @@ class PipenvOperation(object):
 | 
			
		|||
                        if package.startswith(pip_package.lower()):
 | 
			
		||||
                            pkg, pkg_ver = package.split("==")
 | 
			
		||||
                            substr = f'{pip_package} = "*"'
 | 
			
		||||
                            content = content.replace(substr, f'{pkg} == "{pkg_ver}"')
 | 
			
		||||
                            content = content.replace(substr, f'{pkg} = "=={pkg_ver}"')
 | 
			
		||||
 | 
			
		||||
            with open(os.path.join(path, "Pipfile"), "w") as f:
 | 
			
		||||
                f.write(content)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue