docker-offlineimap/offlineimap.py
Nicolas Sebrecht 610308f97c offlineimap.py: fix shebang to python2
Expect more and more distributions to use python3 as default python binary.

This was previously done for bin/offlineimap but I forgot this file in the move,
as suggested by Chris.

Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/530
Suggested-by: Chris Coleman <christocoleman@yahoo.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2018-03-04 04:28:30 +01:00

26 lines
940 B
Python
Executable File

#!/usr/bin/env python2
# Startup from single-user installation
# Copyright (C) 2002-2018 John Goerzen & contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
import sys
from offlineimap import OfflineImap
oi = OfflineImap()
oi.run()