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:
parent
0b648521fd
commit
bd8dbfb487
20 changed files with 40 additions and 41 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import sys, os, errno, stat, signal, time
|
||||
import cycles, env, jobserver, state, paths
|
||||
from helpers import unlink, close_on_exec
|
||||
import logs
|
||||
from logs import debug2, err, warn, meta, check_tty
|
||||
from . import cycles, env, jobserver, logs, state, paths
|
||||
from .helpers import unlink, close_on_exec
|
||||
from .logs import debug2, err, warn, meta, check_tty
|
||||
|
||||
|
||||
def _nice(t):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue