Skip to content

Commit

Permalink
Merge pull request #120 from gpetruc/import-fix
Browse files Browse the repository at this point in the history
Fix import failure: "formatters" is under "cmds" ?
  • Loading branch information
alessandrothea authored Mar 8, 2021
2 parents d7d1c05 + 41df3b3 commit de34506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipbb/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def ensureNoParsingErrors(aCurrentProj, aDepFileParser):
if not aDepFileParser.errors:
return

from .formatters import DepFormatter
from .cmds.formatters import DepFormatter
fmt = DepFormatter(aDepFileParser)
secho("ERROR: Project '{}' contains {} parsing error{}.".format(
aCurrentProj,
Expand All @@ -127,7 +127,7 @@ def ensureNoMissingFiles(aCurrentProj, aDepFileParser):
if not aDepFileParser.unresolved:
return

from .formatters import DepFormatter
from .cmds.formatters import DepFormatter
fmt = DepFormatter(aDepFileParser)
secho("ERROR: Project '{}' contains unresolved dependencies: {} unresolved file{}.".format(
aCurrentProj,
Expand Down

0 comments on commit de34506

Please sign in to comment.