mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
Eliminate implicit relative imports
Convert to either absolute imports or explicit relative imports
This commit is contained in:
parent
281b5cddec
commit
20dab06ea3
@ -78,8 +78,8 @@ import os
|
|||||||
import pipes
|
import pipes
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
import cfg
|
from plinth import cfg
|
||||||
from errors import ActionError
|
from plinth.errors import ActionError
|
||||||
|
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
|
|||||||
@ -20,7 +20,8 @@ Django context processors to provide common data to templates.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import cfg
|
|
||||||
|
from plinth import cfg
|
||||||
|
|
||||||
|
|
||||||
def common(request):
|
def common(request):
|
||||||
|
|||||||
@ -20,7 +20,7 @@ Plinth module for system section page
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from . import system
|
from . import system
|
||||||
from system import init
|
from .system import init
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['system', 'init']
|
__all__ = ['system', 'init']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user