diff options
author | Yen Chi Hsuan | 2017-01-02 01:54:59 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2017-01-02 01:54:59 +0800 |
commit | 8af1fba95ef972b89d6ee9d69daf5c9d27217a5d (patch) | |
tree | b1afbe1b53cde869d332b7a105ae95d14f34f1f0 /allow-missing-vendor.patch | |
parent | 4378b70771e181aab3f14adbb329efe11a043f99 (diff) | |
download | aur-8af1fba95ef972b89d6ee9d69daf5c9d27217a5d.tar.gz |
Update patch
Diffstat (limited to 'allow-missing-vendor.patch')
-rw-r--r-- | allow-missing-vendor.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/allow-missing-vendor.patch b/allow-missing-vendor.patch index 97f7f1609c4c..93bcd31b14ff 100644 --- a/allow-missing-vendor.patch +++ b/allow-missing-vendor.patch @@ -1,14 +1,14 @@ diff --git a/jedihttp/utils.py b/jedihttp/utils.py -index 4c5e92e..be57291 100644 +index f04372a..acec90c 100644 --- a/jedihttp/utils.py +++ b/jedihttp/utils.py -@@ -19,6 +19,8 @@ def AddVendorFolderToSysPath(): - vendor_folder = os.path.join( os.path.dirname( __file__ ), - '..', - 'vendor' ) +@@ -18,6 +18,9 @@ import sys + def AddVendorFolderToSysPath(): + vendor_folder = os.path.join( os.path.dirname( __file__ ), '..', 'vendor' ) + + if not os.path.exists( vendor_folder ): + return - ++ for folder in os.listdir( vendor_folder ): sys.path.insert( 0, os.path.realpath( os.path.join( vendor_folder, - + folder ) ) ) |