{"shas":[["1f7d90b362c401dea91aac7fb2dfe88aab42bbbf","2d1ec9a788ac4719a7fbb6eda31715acd280af15@gmail.com","Merge pull request #1 from posativ/master\n\nin Python und mit mehr Features :)","cmur2"],["8a3311d94ca576de2034fdca2f3b1cd386d604ad","2d1ec9a788ac4719a7fbb6eda31715acd280af15@gmail.com","Added examples, fixing typo","cmur2"],["f9152dfe731faa8b955a74fe14f6eed751cc5e3f","2d1ec9a788ac4719a7fbb6eda31715acd280af15@gmail.com","Fixed error in calculating md5sum of $site\n\n'echo' outputs an \\n at the end which made results of 'md5sum -' slightly wrong.","cmur2"],["f0b0e2cea6144940b16f6ffbc49be2f72407dace","2d1ec9a788ac4719a7fbb6eda31715acd280af15@gmail.com","First draft of functionally equivalent python script\n\nPlan is to replace the bash script by a python script with identical behavior.","cmur2"],["ed0d344c6b6682309c2a51035aa60c674fac85a1","59bd0a3ff43b32849b319e645d4798d8a5d1e889@posativ.org","at least a little bit python-style\n\nNo subprocess, where you can avoid it! When you don't rewrite your conf file, you must not handle open filepointers, simply use \"for line in myfile:\", which is optimized for speed, since it is a generator, and the opened file (I don't know, wether it gets even closed after iterating, though) will automatically closed when exiting python.\n\nRegular expression have no character class \":spaces:\", it's \\W, which includes every non printing character (newline, space, tab).\n\nDon't use list.pop(), when you could use nicer var <-> tuple assignments. You can not track pops very well.\n\nsha1 is better than md5.\n\nos.path.join should be used for directory joining.","posativ"]],"ref":"refs/heads/master","size":5,"head":"ed0d344c6b6682309c2a51035aa60c674fac85a1","push_id":36175016}