Skip to content

Commit

Permalink
Fade to black
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 8, 2020
1 parent 3c18920 commit 8a6fbc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pip_run/read-deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def run():
script, = sys.argv[1:]
(script,) = sys.argv[1:]
deps = DepsReader.load(script).read()
print(' '.join(deps.params()))

Expand Down
2 changes: 1 addition & 1 deletion pip_run/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def read(self):

def _read(self, var_name):
mod = ast.parse(self._fstring_compat(self.script))
node, = (
(node,) = (
node
for node in mod.body
if isinstance(node, ast.Assign)
Expand Down

0 comments on commit 8a6fbc6

Please sign in to comment.