package: npm2deb

version: 0.2.5-1

severity: grave

justification: it should not crash

$ npm2deb search lex-parser
Traceback (most recent call last):
  File "/usr/bin/npm2deb", line 7, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib/python3/dist-packages/npm2deb/scripts.py", line 139, in
main
    args.func(args)
  File "/usr/lib/python3/dist-packages/npm2deb/scripts.py", line 150, in
search_for_module
    node_module = get_npm2deb_instance(args).name
  File "/usr/lib/python3/dist-packages/npm2deb/scripts.py", line 299, in
get_npm2deb_instance
    return _Npm2Deb(args=vars(args))
  File "/usr/lib/python3/dist-packages/npm2deb/__init__.py", line 55, in
__init__
    self.read_package_info()
  File "/usr/lib/python3/dist-packages/npm2deb/__init__.py", line 327,
in read_package_info
    self._get_json_repo_url()
  File "/usr/lib/python3/dist-packages/npm2deb/__init__.py", line 421,
in _get_json_repo_url
    if url.startswith('git') or (isinstance(repository, dict) and
UnboundLocalError: local variable 'url' referenced before assignment


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to