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:
Diffstat (limited to 'murmur-info.py')
-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!')