remove ceph code
[stor4nfv.git] / src / ceph / src / ceph-volume / ceph_volume / util / __init__.py
diff --git a/src/ceph/src/ceph-volume/ceph_volume/util/__init__.py b/src/ceph/src/ceph-volume/ceph_volume/util/__init__.py
deleted file mode 100644 (file)
index 3b8c309..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-
-def as_string(string):
-    """
-    Ensure that whatever type of string is incoming, it is returned as an
-    actual string, versus 'bytes' which Python 3 likes to use.
-    """
-    if isinstance(string, bytes):
-        # we really ignore here if we can't properly decode with utf-8
-        return string.decode('utf-8', 'ignore')
-    return string