From: Oleg Broytman Date: Mon, 25 Jul 2016 20:54:26 +0000 (+0300) Subject: Fix import X-Git-Tag: 3.0.0b2~6 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3f0f88bf83f84474c61efacfbf14cdbeb22f30e3;p=m_lib.git Fix import --- diff --git a/m_lib/flad/fladc.py b/m_lib/flad/fladc.py index d30aa44..c9bc73e 100644 --- a/m_lib/flad/fladc.py +++ b/m_lib/flad/fladc.py @@ -3,7 +3,7 @@ """ -import flad, fladm +from m_lib.flad import flad, fladm error = "fladc.error" # Too many records diff --git a/m_lib/flad/fladm.py b/m_lib/flad/fladm.py index 3705a30..28b3d8d 100644 --- a/m_lib/flad/fladm.py +++ b/m_lib/flad/fladm.py @@ -3,7 +3,7 @@ """ -from flad import Flad, def_keysep +from m_lib.flad.flad import Flad, def_keysep class Flad_WithMustKeys(Flad): diff --git a/m_lib/flad/fladw.py b/m_lib/flad/fladw.py index 781c472..ccbd5d5 100644 --- a/m_lib/flad/fladw.py +++ b/m_lib/flad/fladw.py @@ -4,7 +4,7 @@ import string, re -import flad +from m_lib.flad import flad error = "fladw.error" diff --git a/m_lib/net/ftp/ftpscan.py b/m_lib/net/ftp/ftpscan.py index c3a4b5e..51c92f3 100755 --- a/m_lib/net/ftp/ftpscan.py +++ b/m_lib/net/ftp/ftpscan.py @@ -4,7 +4,7 @@ from __future__ import print_function import ftplib -from m_lib.net.ftp.ftpparse import ftpparse +from .ftpparse import ftpparse class FtpScanError(Exception): pass