summaryrefslogtreecommitdiff
path: root/pygments/lexers/installers.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-16 09:33:43 +0200
committerGeorg Brandl <georg@python.org>2014-10-16 09:33:43 +0200
commit5727fe42393a86817bd0f702d93c3fc399b68eb3 (patch)
tree796e787baf37e7362a802aaf9b6303127ff35098 /pygments/lexers/installers.py
parentf8f38adf82e18ea5c33d532ab3429bb22eed0921 (diff)
downloadpygments-5727fe42393a86817bd0f702d93c3fc399b68eb3.tar.gz
Fix "matches empty string" complaints from regexlint.
Diffstat (limited to 'pygments/lexers/installers.py')
-rw-r--r--pygments/lexers/installers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/installers.py b/pygments/lexers/installers.py
index 53a7abc1..d5ca8d3c 100644
--- a/pygments/lexers/installers.py
+++ b/pygments/lexers/installers.py
@@ -11,7 +11,7 @@
import re
-from pygments.lexer import RegexLexer, include, bygroups, using, this
+from pygments.lexer import RegexLexer, include, bygroups, using, this, default
from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
Punctuation, Generic, Number, Whitespace
@@ -299,7 +299,7 @@ class DebianControlLexer(RegexLexer):
bygroups(Text, String, Name, Name.Class)),
(r':.*\n', Generic.Strong),
(r' .*\n', Text),
- ('', Text, '#pop'),
+ default('#pop'),
],
'depends': [
(r':\s*', Text),