ports/devel/py-apache_conf_parser/files/patch-indent
2022-03-25 21:38:07 +08:00

13 lines
564 B
Text

--- apache_conf_parser.py.orig 2011-04-12 03:06:39 UTC
+++ apache_conf_parser.py
@@ -466,8 +466,8 @@ class ApacheConfParser(ComplexNode):
def __init__(self, source, infile=True, delay=False, count=None):
"""Count is the starting number for line counting..."""
super(ApacheConfParser, self).__init__(_NODES)
- self.source = source.splitlines()
- if infile:
+ self.source = source.splitlines()
+ if infile:
self.source = (line.strip("\n") for line in open(source))
self.count = count
if not delay: