mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-02 04:53:36 +00:00 
			
		
		
		
	python: Normalize quotes with Black.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							11741543da
						
					
				
				
					commit
					6e4c3e41dc
				
			| @@ -6,7 +6,7 @@ from django.db.migrations.state import StateApps | ||||
|  | ||||
|  | ||||
| def fix_bot_email_property(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: | ||||
|     UserProfile = apps.get_model('zerver', 'UserProfile') | ||||
|     UserProfile = apps.get_model("zerver", "UserProfile") | ||||
|     for user_profile in UserProfile.objects.filter(is_bot=True): | ||||
|         if user_profile.email != user_profile.delivery_email: | ||||
|             user_profile.email = user_profile.delivery_email | ||||
| @@ -16,7 +16,7 @@ def fix_bot_email_property(apps: StateApps, schema_editor: DatabaseSchemaEditor) | ||||
| class Migration(migrations.Migration): | ||||
|  | ||||
|     dependencies = [ | ||||
|         ('zerver', '0241_usermessage_bigint_id_migration_finalize'), | ||||
|         ("zerver", "0241_usermessage_bigint_id_migration_finalize"), | ||||
|     ] | ||||
|  | ||||
|     operations = [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user