Fix string formatting for py26
This commit is contained in:
		
							parent
							
								
									216750c05b
								
							
						
					
					
						commit
						e38f7d4662
					
				| @ -2,9 +2,9 @@ import uuid | ||||
| 
 | ||||
| 
 | ||||
| def make_arn_for_topic(account_id, name): | ||||
|     return "arn:aws:sns:us-east-1:{}:{}".format(account_id, name) | ||||
|     return "arn:aws:sns:us-east-1:{0}:{1}".format(account_id, name) | ||||
| 
 | ||||
| 
 | ||||
| def make_arn_for_subscription(topic_arn): | ||||
|     subscription_id = uuid.uuid4() | ||||
|     return "{}:{}".format(topic_arn, subscription_id) | ||||
|     return "{0}:{1}".format(topic_arn, subscription_id) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user