mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-05-02 00:54:52 +02:00
More commenting
This commit is contained in:
parent
a2287388dd
commit
a2fd2ce4fb
|
@ -1,3 +1,7 @@
|
|||
"""
|
||||
The jobs module allows to create jobs for the queue and take jobs off the queue
|
||||
"""
|
||||
|
||||
from datetime import datetime
|
||||
import logging
|
||||
import os
|
||||
|
@ -38,6 +42,7 @@ def directory_entries():
|
|||
for doc in yaml.load_all(yamlfile):
|
||||
yield doc
|
||||
|
||||
|
||||
def chunks(the_list, size):
|
||||
"""
|
||||
Yield successive n-sized chunks from list the_list
|
||||
|
|
Loading…
Reference in a new issue