Eliminate implicit relative imports

Convert to either absolute imports or explicit relative imports
This commit is contained in:
Sunil Mohan Adapa 2014-09-19 19:09:49 +05:30
parent 281b5cddec
commit 20dab06ea3
3 changed files with 5 additions and 4 deletions

View File

@ -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__)

View File

@ -20,7 +20,8 @@ Django context processors to provide common data to templates.
"""
import re
import cfg
from plinth import cfg
def common(request):

View File

@ -20,7 +20,7 @@ Plinth module for system section page
"""
from . import system
from system import init
from .system import init
__all__ = ['system', 'init']