mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	zerver: Remove the rest of absolute_import.
This commit is contained in:
		@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from typing import Any, Dict, List, Optional
 | 
					from typing import Any, Dict, List, Optional
 | 
				
			||||||
from django.http import HttpRequest
 | 
					from django.http import HttpRequest
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from django.utils.translation import ugettext as _
 | 
					from django.utils.translation import ugettext as _
 | 
				
			||||||
from django.http import HttpResponseRedirect, HttpResponse
 | 
					from django.http import HttpResponseRedirect, HttpResponse
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from typing import Any, Dict
 | 
					from typing import Any, Dict
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from django import forms
 | 
					from django import forms
 | 
				
			||||||
from django.conf import settings
 | 
					from django.conf import settings
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from django.conf import settings
 | 
					from django.conf import settings
 | 
				
			||||||
from typing import Any, Dict, Optional
 | 
					from typing import Any, Dict, Optional
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from six import binary_type
 | 
					from six import binary_type
 | 
				
			||||||
from typing import Any, AnyStr, Callable, Dict, Iterable, List, MutableMapping, Optional, Text
 | 
					from typing import Any, AnyStr, Callable, Dict, Iterable, List, MutableMapping, Optional, Text
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
from typing import Any, DefaultDict, Dict, List, Set, Tuple, TypeVar, Text, \
 | 
					from typing import Any, DefaultDict, Dict, List, Set, Tuple, TypeVar, Text, \
 | 
				
			||||||
    Union, Optional, Sequence, AbstractSet, Pattern, AnyStr, Callable, Iterable
 | 
					    Union, Optional, Sequence, AbstractSet, Pattern, AnyStr, Callable, Iterable
 | 
				
			||||||
from typing.re import Match
 | 
					from typing.re import Match
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
from django.dispatch import receiver
 | 
					from django.dispatch import receiver
 | 
				
			||||||
from django.contrib.auth.signals import user_logged_in
 | 
					from django.contrib.auth.signals import user_logged_in
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,4 @@
 | 
				
			|||||||
# Useful reading is https://zulip.readthedocs.io/en/latest/front-end-build-process.html
 | 
					# Useful reading is https://zulip.readthedocs.io/en/latest/front-end-build-process.html
 | 
				
			||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
import os
 | 
					import os
 | 
				
			||||||
import shutil
 | 
					import shutil
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
from typing import Any, Dict
 | 
					from typing import Any, Dict
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from django.template import Node, Library, TemplateSyntaxError
 | 
					from django.template import Node, Library, TemplateSyntaxError
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,4 @@
 | 
				
			|||||||
#!/usr/bin/env python3
 | 
					#!/usr/bin/env python3
 | 
				
			||||||
from __future__ import absolute_import
 | 
					 | 
				
			||||||
from __future__ import print_function
 | 
					from __future__ import print_function
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from django.conf import settings
 | 
					from django.conf import settings
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user