Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
Fixed pip version problem: #2678
Browse files Browse the repository at this point in the history
  • Loading branch information
Qubasa authored and jbremer committed Apr 23, 2019
1 parent 369bcde commit d58ab49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cuckoo/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.

import pkg_resources
import base64
import bs4
import chardet
Expand Down Expand Up @@ -262,7 +263,7 @@ def get_os_release():

msg += "Modules: %s\n\n" % " ".join(sorted(
"%s:%s" % (package.key, package.version)
for package in pip.get_installed_distributions()
for package in pkg_resources.working_set
))
return msg

Expand Down

0 comments on commit d58ab49

Please sign in to comment.