mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +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 subprocess
|
||||
|
||||
import cfg
|
||||
from errors import ActionError
|
||||
from plinth import cfg
|
||||
from plinth.errors import ActionError
|
||||
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@ -20,7 +20,8 @@ Django context processors to provide common data to templates.
|
||||
"""
|
||||
|
||||
import re
|
||||
import cfg
|
||||
|
||||
from plinth import cfg
|
||||
|
||||
|
||||
def common(request):
|
||||
|
||||
@ -20,7 +20,7 @@ Plinth module for system section page
|
||||
"""
|
||||
|
||||
from . import system
|
||||
from system import init
|
||||
from .system import init
|
||||
|
||||
|
||||
__all__ = ['system', 'init']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user