From 655b0d2793386d2059b9c682e931035a83619917 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Wed, 10 Aug 2016 15:28:48 +0530 Subject: Move source files into gfapi/ dir Currently, many source files are directly placed under gluster/ dir: gluster/exceptions.py gluster/gfapi.py gluster/utils.py When multiple packages (RPMs) are sharing the same gluster namespace, these source files will conflict if there are source files with same names provided by other projects. Fix: Move all source files in gluster/* to gluster/gfapi/* Note that this patch does not break how existing users import gfapi. Change-Id: Idf9d07eefafe8333215d6c61201c97c982565ba9 Signed-off-by: Prashanth Pai --- gluster/gfapi/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gluster/gfapi/__init__.py (limited to 'gluster/gfapi/__init__.py') diff --git a/gluster/gfapi/__init__.py b/gluster/gfapi/__init__.py new file mode 100644 index 0000000..8d99bf2 --- /dev/null +++ b/gluster/gfapi/__init__.py @@ -0,0 +1,14 @@ +# Copyright (c) 2016 Red Hat, Inc. +# +# This file is part of libgfapi-python project which is a +# subproject of GlusterFS ( www.gluster.org) +# +# This file is licensed to you under your choice of the GNU Lesser +# General Public License, version 3 or any later version (LGPLv3 or +# later), or the GNU General Public License, version 2 (GPLv2), in all +# cases as published by the Free Software Foundation. + +__version__ = '1.0' + +from gfapi import File, Dir, DirEntry, Volume +__all__ = ['File', 'Dir', 'DirEntry', 'Volume'] -- cgit