mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	python: Normalize quotes with Black.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							11741543da
						
					
				
				
					commit
					6e4c3e41dc
				
			@@ -6,8 +6,8 @@ from django.db.migrations.state import StateApps
 | 
			
		||||
def add_domain_to_realm_alias_if_needed(
 | 
			
		||||
    apps: StateApps, schema_editor: DatabaseSchemaEditor
 | 
			
		||||
) -> None:
 | 
			
		||||
    Realm = apps.get_model('zerver', 'Realm')
 | 
			
		||||
    RealmAlias = apps.get_model('zerver', 'RealmAlias')
 | 
			
		||||
    Realm = apps.get_model("zerver", "Realm")
 | 
			
		||||
    RealmAlias = apps.get_model("zerver", "RealmAlias")
 | 
			
		||||
 | 
			
		||||
    for realm in Realm.objects.all():
 | 
			
		||||
        # if realm.domain already exists in RealmAlias, assume it is correct
 | 
			
		||||
@@ -18,7 +18,7 @@ def add_domain_to_realm_alias_if_needed(
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('zerver', '0032_verify_all_medium_avatar_images'),
 | 
			
		||||
        ("zerver", "0032_verify_all_medium_avatar_images"),
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user