~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/news_merge/parser.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-19 13:23:58 UTC
  • mto: This revision was merged to the branch mainline in revision 6386.
  • Revision ID: jelmer@canonical.com-20111219132358-uvs5a6y92gomzacd
Move importing from future until after doc string, otherwise the doc string will disappear.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from __future__ import absolute_import
18
 
 
19
17
"""Simple parser for bzr's NEWS file.
20
18
 
21
19
Simple as this is, it's a bit over-powered for news_merge's needs, which only
26
24
simple_parse's docstring).
27
25
"""
28
26
 
 
27
from __future__ import absolute_import
 
28
 
29
29
 
30
30
def simple_parse_lines(lines):
31
31
    """Same as simple_parse, but takes an iterable of strs rather than a single