From a9ea06345d4a4ad40631cf9f1b5d9e7229073eed Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 5 Apr 2018 19:37:33 +0200 Subject: [PATCH] Fixed broken import. --- dpaste/highlight.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dpaste/highlight.py b/dpaste/highlight.py index ae1326f..30c3f78 100644 --- a/dpaste/highlight.py +++ b/dpaste/highlight.py @@ -2,7 +2,6 @@ from __future__ import unicode_literals from logging import getLogger -from IPython.core.oinspect import is_simple_callable from django.conf import settings from django.template.defaultfilters import escape, linebreaksbr from django.template.loader import render_to_string @@ -95,8 +94,8 @@ class SolidityHighlighter(PygmentsHighlighter): """Solidity Specific Highlighter. This uses a 3rd party Pygments lexer.""" def __init__(self): - # SolidityLexer does not necessarily need to be required - # if its imported here and not used later. + # SolidityLexer does not necessarily need to be installed + # since its imported here and not used later. from pygments_lexer_solidity import SolidityLexer self.lexer = SolidityLexer()