Remove the gpled loremipsum module.
This commit is contained in:
parent
bab3a0949c
commit
6b38ddb9b6
5 changed files with 17 additions and 13 deletions
|
@ -1,9 +1,9 @@
|
|||
import logging
|
||||
|
||||
from random import SystemRandom
|
||||
from loremipsum import get_sentence
|
||||
from functools import wraps
|
||||
from functools import wraps, partial
|
||||
from copy import deepcopy
|
||||
from jinja2.utils import generate_lorem_ipsum
|
||||
|
||||
from data.buildlogs import RedisBuildLogs
|
||||
|
||||
|
@ -12,6 +12,9 @@ logger = logging.getLogger(__name__)
|
|||
random = SystemRandom()
|
||||
|
||||
|
||||
get_sentence = partial(generate_lorem_ipsum, html=False, n=1, min=5, max=10)
|
||||
|
||||
|
||||
def maybe_advance_script(is_get_status=False):
|
||||
def inner_advance(func):
|
||||
@wraps(func)
|
||||
|
|
Reference in a new issue