Switch to module-relative import syntax.

Now that the python scripts are all in a "redo" python module, we can
use the "new style" (ahem) package-relative imports.  This appeases
pylint, plus avoids confusion in case more than one package has
similarly-named modules.
This commit is contained in:
Avery Pennarun 2018-12-05 02:34:36 -05:00
commit bd8dbfb487
20 changed files with 40 additions and 41 deletions

View file

@ -1,7 +1,7 @@
import sys, os, errno, stat, fcntl, sqlite3
import cycles, env
from helpers import unlink, close_on_exec, join
from logs import warn, debug2, debug3
from . import cycles, env
from .helpers import unlink, close_on_exec, join
from .logs import warn, debug2, debug3
SCHEMA_VER = 2
TIMEOUT = 60