Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/charleszlu/murmur-info.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharleszlu <c4planted@gmail.com>2019-05-13 14:45:35 +0300
committercharleszlu <c4planted@gmail.com>2019-05-13 14:45:35 +0300
commitd110204642d209773aa3fddb82a1836a9d7144e0 (patch)
treed7163a2c643cd0a608a2a1b4066eb5f58f2d3974
parent6e298e8a7ab8338b355027797e28a3b2b19f950e (diff)
Fixed a bug with env split
-rw-r--r--murmur-info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/murmur-info.py b/murmur-info.py
index 1639e10..3a06110 100644
--- a/murmur-info.py
+++ b/murmur-info.py
@@ -34,7 +34,7 @@
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-import Ice, sys, os, ast
+import Ice, sys, os
class MurmurIce:
@@ -153,7 +153,7 @@ if __name__ == "__main__":
ice_port = os.getenv('MURMUR_ICE_PORT', 6502)
murmur_icesecreatread = os.getenv('MURMUR_ICE_SECRET')
message_size_max = os.getenv('MURMUR_ICE_MSG_SIZE_MAX', 65535)
- exclude_keywords = ast.literal_eval('['+os.getenv('EXCLUDE_KEYWORDS', '')+']')
+ exclude_keywords = os.getenv('EXCLUDE_KEYWORDS', '').split(',')
if not murmur_ice_path:
raise RuntimeError('MURMUR_ICE_PATH environment variable is not set!')