1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

#678: Import pkg_resources only when it needed

This commit is contained in:
Vladimir Iakovlev 2017-08-21 11:50:04 +02:00
parent b4c4fdf706
commit fabef80056

View File

@ -1,6 +1,5 @@
import os
import pickle
import pkg_resources
import re
import shelve
import six
@ -255,6 +254,8 @@ cache.disabled = False
def get_installation_info():
import pkg_resources
return pkg_resources.require('thefuck')[0]