[PATCH 5 of 6] middleware: simplegit: remove unused import of paste.httpheaders

Thomas De Schampheleire patrickdepinguin at gmail.com
Sat Dec 29 21:50:19 UTC 2018


# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
# Date 1546117764 -3600
#      Sat Dec 29 22:09:24 2018 +0100
# Node ID bea4841809a71cdaf19950703b37f4ca5a896e5f
# Parent  395330be823c7d01a1890a26decfb4f14368c4a4
middleware: simplegit: remove unused import of paste.httpheaders

REMOTE_USER and AUTH_TYPE are not used. This code stems from very early
times (2010, 19a62a5490fef7b514bd892a3699bf5ef1de82c8).

diff --git a/kallithea/lib/middleware/simplegit.py b/kallithea/lib/middleware/simplegit.py
--- a/kallithea/lib/middleware/simplegit.py
+++ b/kallithea/lib/middleware/simplegit.py
@@ -33,7 +33,6 @@ import re
 import logging
 import traceback
 
-from paste.httpheaders import REMOTE_USER, AUTH_TYPE
 from webob.exc import HTTPNotFound, HTTPForbidden, HTTPInternalServerError, \
     HTTPNotAcceptable
 from kallithea.model.db import Ui


More information about the kallithea-general mailing list