{"action":"created","issue":{"url":"https://api.github.com/repos/Metaswitch/clearwater-etcd/issues/102","labels_url":"https://api.github.com/repos/Metaswitch/clearwater-etcd/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-etcd/issues/102/comments","events_url":"https://api.github.com/repos/Metaswitch/clearwater-etcd/issues/102/events","html_url":"https://github.com/Metaswitch/clearwater-etcd/issues/102","id":86266502,"number":102,"title":"load_from_memcached_cluster.py doesn't ignore comment lines","user":{"login":"dtheobald","id":6430927,"avatar_url":"https://avatars.githubusercontent.com/u/6430927?v=3","gravatar_id":"","url":"https://api.github.com/users/dtheobald","html_url":"https://github.com/dtheobald","followers_url":"https://api.github.com/users/dtheobald/followers","following_url":"https://api.github.com/users/dtheobald/following{/other_user}","gists_url":"https://api.github.com/users/dtheobald/gists{/gist_id}","starred_url":"https://api.github.com/users/dtheobald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtheobald/subscriptions","organizations_url":"https://api.github.com/users/dtheobald/orgs","repos_url":"https://api.github.com/users/dtheobald/repos","events_url":"https://api.github.com/users/dtheobald/events{/privacy}","received_events_url":"https://api.github.com/users/dtheobald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-08T17:33:57Z","updated_at":"2015-06-08T18:04:11Z","closed_at":null,"body":"My cluster_settings file looks like:\r\n```\r\n# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n#                                                                               \r\n# WARNING - THIS FILE IS GENERATED BY ETCD AND SHOULD NOT BE EDITED DIRECTLY    \r\n#                                                                               \r\n# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nservers=192.168.165.80:11211\r\n```\r\nBut when I run load_from_memcached_cluster I get this error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/share/clearwater/clearwater-cluster-manager/scripts/load_from_memcached_cluster.py\", line 80, in <module>\r\n    load_file_into_etcd('/etc/clearwater/cluster_settings', local_etcd_key)\r\n  File \"/usr/share/clearwater/clearwater-cluster-manager/scripts/load_from_memcached_cluster.py\", line 61, in load_file_into_etcd\r\n    key, value = line.split(\"=\")\r\nValueError: need more than 1 value to unpack\r\n```\r\nIf I remove the comment lines, I don't get the error."},"comment":{"url":"https://api.github.com/repos/Metaswitch/clearwater-etcd/issues/comments/110093714","html_url":"https://github.com/Metaswitch/clearwater-etcd/issues/102#issuecomment-110093714","issue_url":"https://api.github.com/repos/Metaswitch/clearwater-etcd/issues/102","id":110093714,"user":{"login":"dtheobald","id":6430927,"avatar_url":"https://avatars.githubusercontent.com/u/6430927?v=3","gravatar_id":"","url":"https://api.github.com/users/dtheobald","html_url":"https://github.com/dtheobald","followers_url":"https://api.github.com/users/dtheobald/followers","following_url":"https://api.github.com/users/dtheobald/following{/other_user}","gists_url":"https://api.github.com/users/dtheobald/gists{/gist_id}","starred_url":"https://api.github.com/users/dtheobald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtheobald/subscriptions","organizations_url":"https://api.github.com/users/dtheobald/orgs","repos_url":"https://api.github.com/users/dtheobald/repos","events_url":"https://api.github.com/users/dtheobald/events{/privacy}","received_events_url":"https://api.github.com/users/dtheobald/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T18:04:11Z","updated_at":"2015-06-08T18:04:11Z","body":"After line #59 in load_from_memcached_cluster.py, I added:\r\n```\r\n            if re.compile(\"^[ ]*#\").match(line):\r\n                continue\r\n```\r\n"}}