Skip to content

Commit

Permalink
modulegraph: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xoviat committed Apr 4, 2021
1 parent 3b566da commit 3310459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PyInstaller/lib/modulegraph/modulegraph.py
Expand Up @@ -26,8 +26,6 @@
from collections import deque, namedtuple
import warnings

from typing import Optional

from altgraph.ObjectGraph import ObjectGraph
from altgraph import GraphError

Expand Down Expand Up @@ -2059,7 +2057,9 @@ def _safe_import_module(
co = self._replace_paths_in_code(co)
module.code = co
except SyntaxError:
self.msg(1, "safe_import_module: SyntaxError in ", pathname)
self.msg(
1, "safe_import_module: SyntaxError in ", pathname,
)
cls = InvalidSourceModule
module = self.createNode(cls, module_name)

Expand Down

0 comments on commit 3310459

Please sign in to comment.