mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Fix missing string formatting placeholder.
This commit is contained in:
		
							parent
							
								
									e64c442ff7
								
							
						
					
					
						commit
						0c4783a33c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -118,7 +118,7 @@ def strftest1(self, now):
 | 
			
		|||
            try:
 | 
			
		||||
                result = time.strftime(e[0], now)
 | 
			
		||||
            except ValueError, error:
 | 
			
		||||
                print "Standard '%s' format gaver error:" % (e[0], error)
 | 
			
		||||
                print "Standard '%s' format gave error: %s" % (e[0], error)
 | 
			
		||||
                continue
 | 
			
		||||
            if re.match(escapestr(e[1], self.ampm), result):
 | 
			
		||||
                continue
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue