remove warning about python 2.5 support from bottle

(cherry picked from commit 7a27f8c03bc1105a9292f3fc663eb2da25f874ea)
This commit is contained in:
Ralf Schmitt 2012-12-27 01:29:14 +01:00
parent 06ff91d214
commit b587049d52

@ -1,8 +1,9 @@
#! /usr/bin/env python
"""minimal PyPI like server for use with pip/easy_install"""
import os, sys, getopt, re, mimetypes
import os, sys, getopt, re, mimetypes, warnings
warnings.filterwarnings("ignore", "Python 2.5 support may be dropped in future versions of Bottle")
from pypiserver import bottle, __version__, app
sys.modules["bottle"] = bottle
from bottle import run, server_names