Issue #10 invalid

Pyroma tracebacks on unknown package

pinard
created an issue

Hi, I'm just trying Pyroma.

Given an unexisting package, it tracebacks. The diagnostic is proper, but the traceback should not happen.

pyroma xxx
------------------------------
Checking xxx
Traceback (most recent call last):
  File "/usr/local/bin/pyroma", line 9, in <module>
    load_entry_point('pyroma==1.3', 'console_scripts', 'pyroma')()
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/__init__.py", line 54, in main
    run(sys.argv[1])
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/__init__.py", line 31, in run
    data = pypidata.get_data(argument)
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/pypidata.py", line 26, in get_data
    raise ValueError("Did not find '%s' on PyPI. Did you misspell it? It's case sensitive!" % project)
ValueError: Did not find 'xxx' on PyPI. Did you misspell it? It's case sensitive!

Comments (3)

  1. Log in to comment