imports changed to relative

master
idziubenko 3 years ago
parent 2aeba9c0a3
commit b8be30bc35

@ -14,9 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
import urllib.request as urllib2
from .DisplayMethod import DisplayMethod, StartWidget, ConnectLostLabel

@ -14,8 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
import urllib.request as urllib2
import OpenSSL, hashlib

@ -14,13 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from __future__ import absolute_import
import dbus
import dbus.service
import dbus.mainloop.glib
from calculate.consolegui import qt
from .. import qt
import time, sys
import calculate.contrib
from suds import MethodNotFound
@ -35,7 +33,7 @@ from .more import get_sid, get_view_params, _print, get_icon, get_system_rgb, \
dpivalue
from .MainClass import ApiClient
from calculate.consolegui.datavars import DataVarsGui
from ..datavars import DataVarsGui
from .pid_information import client_pid_info
#from calculate.lib.cl_lang import setLocalTranslate
#setLocalTranslate('console_gui',sys.modules[__name__])

@ -14,9 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .more import LabelWordWrap, _print, get_system_rgb, ParameterWindow, dpivalue
DEBUG_LEVEL = 99999

@ -15,7 +15,7 @@
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .more import ButtonMenu, FlowLayout, get_sid, ClientServiceThread, \
get_view_params, show_msg, client_list_methods, get_system_rgb, \

@ -15,7 +15,7 @@
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .more import ButtonMenu, icon_visible, LabelWordWrap, get_sid, show_msg, \
ClientServiceThread, show_question, get_view_params, _print, \
get_system_rgb, dpivalue

@ -16,7 +16,7 @@
from __future__ import absolute_import
from .Box import MainWgt
from calculate.consolegui import qt
from .. import qt
#from mainmenu import MainMenu
import os

@ -16,7 +16,7 @@
from __future__ import print_function
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
DEBUG_LEVEL = 99999

@ -15,7 +15,7 @@
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .more import get_system_rgb, ParameterWindow

@ -15,7 +15,7 @@
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
import time
import urllib.request as urllib2
# from calculate.core.client.function import create_obj

@ -15,7 +15,7 @@
# limitations under the License.
# from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .pid_information import client_list_pid, client_pid_info
from .more import LabelWordWrap, show_msg, get_sid, ClientServiceThread

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from calculate.consolegui import qt
from .. import qt
import urllib.request as u2
if hasattr(u2,"ssl"):
u2.ssl._create_default_https_context = u2.ssl._create_unverified_context

@ -14,8 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
import calculate.contrib
from suds import WebFault
import logging, OpenSSL

@ -16,7 +16,7 @@
from __future__ import absolute_import
import socket
from calculate.consolegui import qt
from .. import qt
from .more import LabelWordWrap, show_msg, get_icon

@ -15,7 +15,7 @@
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .more import LabelWordWrap, show_msg, get_icon
import datetime
from calculate.lib.datavars import DataVars

@ -16,7 +16,7 @@
# from __future__ import print_function
# from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
# from calculate.core.client.function import create_obj, listToArrayArray, \
# listToArray
from .utils import create_obj, listToArrayArray, listToArray

@ -16,7 +16,7 @@
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
from .more import TopMenu, HelpMenu#, FlowLayout
class MainMenu(qt.QWidget):

@ -30,7 +30,7 @@ def debug(level, *args):
print(s, end=' ')
print()
from calculate.consolegui import qt
from .. import qt
# from calculate.core.client.function import create_obj
# from .utils import create_obj
from . import utils

@ -16,7 +16,7 @@
from __future__ import absolute_import
from .more import get_sid, get_icon
from calculate.consolegui import qt
from .. import qt
from .ReturnMessage import ReturnedMessage
import urllib.request as urllib2

@ -15,7 +15,7 @@
# limitations under the License.
from __future__ import absolute_import
from calculate.consolegui import qt
from .. import qt
import urllib.request as urllib2
from calculate.lib.utils.tools import Locker

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from calculate.consolegui import qt
from .. import qt
class StatusLabel(qt.QLabel):
def __init__(self, name, parent):

@ -17,7 +17,7 @@
from __future__ import absolute_import
import os
from calculate.consolegui import qt
from .. import qt
from .more import LabelWordWrap, FileOpenWgt, show_msg, show_question, \
client_list_methods, get_icon, dpivalue

Loading…
Cancel
Save