diff --git a/index.js b/index.js index 4d298e7..19ac5c3 100644 --- a/index.js +++ b/index.js @@ -117,6 +117,12 @@ function stringifyPythonConf(obj, cb) { var num = obj.__keys[key]; var comment = ''; + if ('undefined' === typeof pyval) { + if ('number' === typeof num) { + obj.__lines[num] = "___DELETE_ME___"; + } + return; + } if ('number' !== typeof num) { obj.__lines.push(pykey + ' = ' + pyval);