strongswan / swidGenerator

Application which generates SWID-Tags from Linux package managers like dpkg, rpm or pacman.
MIT License
16 stars 11 forks source link

Refactorings2 #30

Closed dbrgn closed 10 years ago

dbrgn commented 10 years ago

Nochmal ein paar kleine Änderungen.

@cfaessler please review.

cfaessler commented 10 years ago

Build failed https://s3.amazonaws.com/archive.travis-ci.org/jobs/26814362/log.txt

$ pip install --quiet --use-mirrors tox
--use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.
Exception:
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/req.py", line 1197, in prepare_files
    do_download,
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/req.py", line 1375, in unpack_url
    self.session,
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/download.py", line 572, in unpack_http_url
    download_hash = _download_url(resp, link, temp_location)
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/download.py", line 433, in _download_url
    for chunk in resp_read(4096):
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/download.py", line 421, in resp_read
    chunk_size, decode_content=False):
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 236, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/home/travis/virtualenv/python2.7.6/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 183, in read
    data = self._fp.read(amt)
  File "/opt/python/2.7.6/lib/python2.7/httplib.py", line 567, in read
    s = self.fp.read(amt)
  File "/opt/python/2.7.6/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
  File "/opt/python/2.7.6/lib/python2.7/ssl.py", line 241, in recv
    return self.read(buflen)
  File "/opt/python/2.7.6/lib/python2.7/ssl.py", line 160, in read
    return self._sslobj.read(len)
error: [Errno 104] Connection reset by peer
cfaessler commented 10 years ago

Please add --version to README, otherwise good to merge!