cleanup: Delete leading newlines.

Previous cleanups (mostly the removals of Python __future__ imports)
were done in a way that introduced leading newlines.  Delete leading
newlines from all files, except static/assets/zulip-emoji/NOTICE,
which is a verbatim copy of the Apache 2.0 license.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-08-06 15:30:17 -07:00 committed by Tim Abbott
parent 12f3ed12c4
commit becef760bf
131 changed files with 0 additions and 131 deletions

View File

@ -1,4 +1,3 @@
from datetime import datetime, timedelta from datetime import datetime, timedelta
from typing import Any, Dict, List, Mapping, Optional, Type from typing import Any, Dict, List, Mapping, Optional, Type

View File

@ -1,4 +1,3 @@
from datetime import datetime, timedelta from datetime import datetime, timedelta
from typing import Any, Dict, List, Optional, Tuple, Type from typing import Any, Dict, List, Optional, Tuple, Type

View File

@ -1,4 +1,3 @@
import itertools import itertools
import logging import logging
import re import re

View File

@ -1,4 +1,3 @@
types { types {
text/plain txt; text/plain txt;

View File

@ -1,4 +1,3 @@
; Move automatic backups into a directory off to the side ; Move automatic backups into a directory off to the side
(defvar backup-dir "~/.emacs-backups/") (defvar backup-dir "~/.emacs-backups/")
(setq backup-directory-alist (list (cons "." backup-dir))) (setq backup-directory-alist (list (cons "." backup-dir)))

View File

@ -1,4 +1,3 @@
The programs included with the Debian GNU/Linux system are free software; The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright. individual files in /usr/share/doc/*/copyright.

View File

@ -1,4 +1,3 @@
define service{ define service{
use generic-service use generic-service
host_name nagios host_name nagios

View File

@ -1,4 +1,3 @@
import os import os
import hashlib import hashlib
import json import json

View File

@ -1,4 +1,3 @@
import logging import logging
import os import os
import shutil import shutil

View File

@ -1,4 +1,3 @@
var scroll_bar = (function () { var scroll_bar = (function () {
var exports = {}; var exports = {};

View File

@ -1,4 +1,3 @@
.drafts-container { .drafts-container {
position: relative; position: relative;
height: 95%; height: 95%;

View File

@ -1,4 +1,3 @@
There are a lot of team chat apps. So why did we build Zulip? There are a lot of team chat apps. So why did we build Zulip?
We talk about Slack in the discussion below, but the problems apply equally We talk about Slack in the discussion below, but the problems apply equally

View File

@ -1,4 +1,3 @@
[settings] [settings]
default = documentation_crawler.settings default = documentation_crawler.settings

View File

@ -1,4 +1,3 @@
from typing import List, Tuple, Match from typing import List, Tuple, Match
import re import re

View File

@ -1,4 +1,3 @@
from typing import List, Set, Tuple from typing import List, Set, Tuple
import os import os

View File

@ -1,4 +1,3 @@
from collections import defaultdict from collections import defaultdict
from typing import Callable, DefaultDict, Iterator, List, Optional, Set, Tuple from typing import Callable, DefaultDict, Iterator, List, Optional, Set, Tuple

View File

@ -1,4 +1,3 @@
from typing import Any, Dict, List from typing import Any, Dict, List
from .template_parser import ( from .template_parser import (

View File

@ -1,4 +1,3 @@
import os import os
import subprocess import subprocess
import sys import sys

View File

@ -1,4 +1,3 @@
import unittest import unittest
import os import os

View File

@ -1,4 +1,3 @@
import logging import logging
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
import django_otp import django_otp
from two_factor.utils import default_device from two_factor.utils import default_device
from django_otp import user_has_device, _user_is_authenticated from django_otp import user_has_device, _user_is_authenticated

View File

@ -1,4 +1,3 @@
import re import re
from typing import Any, Dict from typing import Any, Dict

View File

@ -1,4 +1,3 @@
from django import forms from django import forms
from django.conf import settings from django.conf import settings
from django.contrib.auth import authenticate from django.contrib.auth import authenticate

View File

@ -1,4 +1,3 @@
from typing import Iterable, List, Optional, Sequence, Union, cast from typing import Iterable, List, Optional, Sequence, Union, cast
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _

View File

@ -1,4 +1,3 @@
from django.db.models import Q from django.db.models import Q
from zerver.models import UserProfile, Realm from zerver.models import UserProfile, Realm
from zerver.lib.cache import cache_with_key, realm_alert_words_cache_key, \ from zerver.lib.cache import cache_with_key, realm_alert_words_cache_key, \

View File

@ -1,4 +1,3 @@
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
from typing import Any, Dict, List from typing import Any, Dict, List

View File

@ -1,4 +1,3 @@
from django.conf import settings from django.conf import settings
from zerver.lib.utils import make_safe_digest from zerver.lib.utils import make_safe_digest

View File

@ -1,4 +1,3 @@
from django.contrib.auth.models import UserManager from django.contrib.auth.models import UserManager
from django.utils.timezone import now as timezone_now from django.utils.timezone import now as timezone_now
from zerver.models import UserProfile, Recipient, Subscription, Realm, Stream from zerver.models import UserProfile, Recipient, Subscription, Realm, Stream

View File

@ -1,4 +1,3 @@
import time import time
from psycopg2.extensions import cursor, connection from psycopg2.extensions import cursor, connection

View File

@ -1,4 +1,3 @@
import code import code
import gc import gc
import logging import logging

View File

@ -1,4 +1,3 @@
from typing import Any, Dict, Iterable, List, Optional, Tuple, Union from typing import Any, Dict, Iterable, List, Optional, Tuple, Union
from confirmation.models import one_click_unsubscribe_link from confirmation.models import one_click_unsubscribe_link

View File

@ -1,4 +1,3 @@
import os import os
import re import re
import ujson import ujson

View File

@ -1,4 +1,3 @@
from django.conf import settings from django.conf import settings
from django.core.mail import EmailMessage from django.core.mail import EmailMessage
from typing import Any, Mapping, Optional from typing import Any, Mapping, Optional

View File

@ -1,4 +1,3 @@
import time import time
import logging import logging

View File

@ -1,4 +1,3 @@
from django.conf import settings from django.conf import settings
import hashlib import hashlib

View File

@ -1,4 +1,3 @@
from typing import Optional, Set, Tuple from typing import Optional, Set, Tuple
import re import re

View File

@ -1,4 +1,3 @@
import datetime import datetime
import ujson import ujson
import zlib import zlib

View File

@ -1,4 +1,3 @@
from django.conf import settings from django.conf import settings
from zerver.lib.actions import \ from zerver.lib.actions import \

View File

@ -1,4 +1,3 @@
import cProfile import cProfile
from functools import wraps from functools import wraps

View File

@ -1,4 +1,3 @@
import os import os
from typing import List, Optional, Tuple from typing import List, Optional, Tuple

View File

@ -1,4 +1,3 @@
from django.conf import settings from django.conf import settings
import redis import redis

View File

@ -1,4 +1,3 @@
from django.http import HttpResponse, HttpResponseNotAllowed from django.http import HttpResponse, HttpResponseNotAllowed
import ujson import ujson

View File

@ -1,4 +1,3 @@
from functools import wraps from functools import wraps
from typing import Any, Callable, Dict from typing import Any, Callable, Dict

View File

@ -1,4 +1,3 @@
from datetime import timedelta from datetime import timedelta
from django.conf import settings from django.conf import settings

View File

@ -1,4 +1,3 @@
import logging import logging
from django.conf import settings from django.conf import settings

View File

@ -1,4 +1,3 @@
from typing import (Dict, List) from typing import (Dict, List)
from django.db import connection from django.db import connection

View File

@ -1,4 +1,3 @@
from typing import Any, Iterable, List, Mapping, Set, Tuple, Optional from typing import Any, Iterable, List, Mapping, Set, Tuple, Optional
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _

View File

@ -1,4 +1,3 @@
from functools import partial from functools import partial
import random import random

View File

@ -1,4 +1,3 @@
import logging import logging
import os import os
import subprocess import subprocess

View File

@ -1,4 +1,3 @@
from typing import List from typing import List
import pytz import pytz

View File

@ -1,4 +1,3 @@
import sys import sys
import functools import functools

View File

@ -1,4 +1,3 @@
import re import re
import os import os
import sourcemap import sourcemap

View File

@ -1,4 +1,3 @@
import argparse import argparse
from datetime import datetime from datetime import datetime
from typing import Any, Optional from typing import Any, Optional

View File

@ -1,4 +1,3 @@
from typing import Any from typing import Any
from django.core.management.base import CommandParser from django.core.management.base import CommandParser

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
import logging import logging
import time import time
from typing import Any, Callable, Optional from typing import Any, Callable, Optional

View File

@ -1,4 +1,3 @@
import json import json
import os import os
import polib import polib

View File

@ -1,4 +1,3 @@
import argparse import argparse
import os import os
import tempfile import tempfile

View File

@ -1,4 +1,3 @@
import argparse import argparse
import os import os
import tempfile import tempfile

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
"""\ """\
Deliver email messages that have been queued by various things Deliver email messages that have been queued by various things
(at this time invitation reminders and day1/day2 followup emails). (at this time invitation reminders and day1/day2 followup emails).

View File

@ -1,4 +1,3 @@
import datetime import datetime
import time import time
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
""" """
Forward messages sent to the configured email gateway to Zulip. Forward messages sent to the configured email gateway to Zulip.

View File

@ -1,4 +1,3 @@
import sys import sys
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import IO, Any from typing import IO, Any

View File

@ -1,4 +1,3 @@
import os import os
import tempfile import tempfile
import shutil import shutil

View File

@ -1,4 +1,3 @@
import os import os
import shutil import shutil
import subprocess import subprocess

View File

@ -1,4 +1,3 @@
import glob import glob
import logging import logging
import os import os

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any, Optional from typing import Any, Optional

View File

@ -1,4 +1,3 @@
import logging import logging
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any, List, Optional from typing import Any, List, Optional

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any, List from typing import Any, List

View File

@ -1,4 +1,3 @@
from typing import Any from typing import Any
from django.db import ProgrammingError from django.db import ProgrammingError

View File

@ -1,4 +1,3 @@
import argparse import argparse
import os import os
import subprocess import subprocess

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any, Iterable, Tuple, Optional from typing import Any, Iterable, Tuple, Optional

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
import sys import sys
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any, List from typing import Any, List

View File

@ -1,4 +1,3 @@
""" """
Shows backlog count of ScheduledEmail Shows backlog count of ScheduledEmail
""" """

View File

@ -1,4 +1,3 @@
import logging import logging
import signal import signal
import sys import sys

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
import sys import sys
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
import sys import sys
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from typing import Any from typing import Any
from django.core.management.base import CommandParser from django.core.management.base import CommandParser

View File

@ -1,4 +1,3 @@
import logging import logging
import sys import sys
from typing import Any, Callable from typing import Any, Callable

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from zerver.lib.management import ZulipBaseCommand, CommandError from zerver.lib.management import ZulipBaseCommand, CommandError

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any from typing import Any

View File

@ -1,4 +1,3 @@
from typing import Any from typing import Any
from django.conf import settings from django.conf import settings

View File

@ -1,4 +1,3 @@
import os import os
import email import email
import ujson import ujson

View File

@ -1,4 +1,3 @@
import logging import logging
import sys import sys
from typing import Any, Iterable from typing import Any, Iterable

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from typing import Any, Dict, List, Set from typing import Any, Dict, List, Set

Some files were not shown because too many files have changed in this diff Show More