Merge pull request #14093 from leela/rename-rq-utils
fix: rq utiliy module conflicts with redis queue's rq package
This commit is contained in:
commit
5378fe37f4
5 changed files with 4 additions and 4 deletions
|
|
@ -102,7 +102,7 @@ def get_commands():
|
|||
from .site import commands as site_commands
|
||||
from .translate import commands as translate_commands
|
||||
from .utils import commands as utils_commands
|
||||
from .redis import commands as redis_commands
|
||||
from .redis_utils import commands as redis_commands
|
||||
|
||||
clickable_link = (
|
||||
"\x1b]8;;https://frappeframework.com/docs\afrappeframework.com\x1b]8;;\a"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import os
|
|||
import click
|
||||
|
||||
import frappe
|
||||
from frappe.utils.rq import RedisQueue
|
||||
from frappe.utils.redis_queue import RedisQueue
|
||||
from frappe.installer import update_site_config
|
||||
|
||||
@click.command('create-rq-users')
|
||||
|
|
@ -5,7 +5,7 @@ import redis
|
|||
|
||||
import frappe
|
||||
from frappe.utils import get_bench_id
|
||||
from frappe.utils.rq import RedisQueue
|
||||
from frappe.utils.redis_queue import RedisQueue
|
||||
from frappe.utils.background_jobs import get_redis_conn
|
||||
|
||||
def version_tuple(version):
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import frappe
|
|||
from frappe import _
|
||||
import frappe.monitor
|
||||
from frappe.utils import cstr, get_bench_id
|
||||
from frappe.utils.rq import RedisQueue
|
||||
from frappe.utils.redis_queue import RedisQueue
|
||||
from frappe.utils.commands import log
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue