Set up static code analysis, fix style issues reported by flake8

This commit is contained in:
Oliver Smith 2017-05-28 02:44:53 +02:00
parent 1cce0155fd
commit 75641f5fc7
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
10 changed files with 58 additions and 8 deletions

View file

@ -16,6 +16,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with pmbootstrap. If not, see <http://www.gnu.org/licenses/>.
"""
def replace(path, old, new):
text = ""
with open(path, 'r') as handle: