diff options
author | Jonathan Holloway <jholloway@redhat.com> | 2018-02-04 21:51:20 -0600 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-02-06 05:40:24 +0000 |
commit | c16f1ff8d02ffe6e71685862b6378b2b7f97a2e1 (patch) | |
tree | ad4c568bf9080cc9fb8637d48c0a50a4df0595b6 /glustolibs-gluster | |
parent | 1b5d406a6c44c269ed931c5ce038436d9fd969f3 (diff) |
readthedocs.org fix /usr/share cannot open error
Add a try around dir copy to eliminate readthedocs.org cannot open error
Change-Id: Ie9160a8b7dc42839fe4c176c89aa67ae26c1266e
Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
Diffstat (limited to 'glustolibs-gluster')
-rw-r--r-- | glustolibs-gluster/setup.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/glustolibs-gluster/setup.py b/glustolibs-gluster/setup.py index 005571b83..b4b1cf170 100644 --- a/glustolibs-gluster/setup.py +++ b/glustolibs-gluster/setup.py @@ -19,7 +19,7 @@ from setuptools import setup, find_packages from distutils import dir_util -version = '0.21' +version = '0.22' name = 'glustolibs-gluster' setup( @@ -48,4 +48,7 @@ setup( namespace_packages = ['glustolibs'] ) -dir_util.copy_tree('./gdeploy_configs', '/usr/share/glustolibs/gdeploy_configs') +try: + dir_util.copy_tree('./gdeploy_configs', '/usr/share/glustolibs/gdeploy_configs') +except: + pass |