Skip to content

Commit

Permalink
add a debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Oct 17, 2023
1 parent 0051631 commit c6b9e65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix_update/eval.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import os
from dataclasses import InitVar, dataclass, field
from pprint import pprint
from textwrap import dedent, indent
from typing import Any, Literal
from urllib.parse import ParseResult, urlparse
Expand Down Expand Up @@ -195,6 +196,7 @@ def eval_attr(opts: Options) -> Package:
res = run(cmd)
out = json.loads(res.stdout)
package = Package(attribute=opts.attribute, import_path=opts.import_path, **out)
pprint(package)
if opts.override_filename is not None:
package.filename = opts.override_filename
if opts.url is not None:
Expand Down

0 comments on commit c6b9e65

Please sign in to comment.