Skip to content
Browse files
docstring lint
  • Loading branch information
ralsina committed May 7, 2017
1 parent cd3ae74 commit 5b73c6b703c2caa7becf1fe73e561fe7ad79b669
Showing with 3 additions and 3 deletions.
  1. +3 −3 nikola/
@@ -211,7 +211,7 @@ def _new_sc_id():

def extract_shortcodes(data, _new_sc_id=_new_sc_id):
Returns data, shortcodes:
Return data with replaced shortcodes, shortcodes.
data is the original data, with the shortcodes replaced by UUIDs.
@@ -239,12 +239,12 @@ def extract_shortcodes(data, _new_sc_id=_new_sc_id):
(u'AAASC7 BBB SC8 CCC', {u'SC7': u'{{% foo %}}', u'SC8': u'{{% bar %}} quux {{% /bar %}}'})

shortcodes = {}
splitted = _split_shortcodes(data)

def extract_data_chunk(data):
"""Takes a list of splitted shortcodes and returns a string and a tail.
"""Take a list of splitted shortcodes and return a string and a tail.
The string is data, the tail is ready for a new run of this same function.
text = []

0 comments on commit 5b73c6b

Please sign in to comment.