Package: mozilla-devscripts
Version: 0.35
Severity: minor

xpi-repack dies with an exception if you don't provide --upstream-version. It would be nice if could print a more meaningful error message.

$ xpi-repack moo.xpi
Traceback (most recent call last):
  File "/usr/bin/xpi-repack", line 132, in <module>
  File "/usr/bin/xpi-repack", line 129, in main
    repack_xpi(package, upstream_version, args[0], verbose)
  File "/usr/bin/xpi-repack", line 39, in repack_xpi
    extract_dir = package + "-" + upstream_version
TypeError: cannot concatenate 'str' and 'NoneType' objects

Jakub Wilk

Pkg-mozext-maintainers mailing list

Reply via email to