#6636 atomic: run flake8
Merged 7 years ago by maxamillion. Opened 7 years ago by walters.
walters/releng use-flake8-redux  into  master

Add a Makefile with a `check` target
Colin Walters • 7 years ago  
2wkatomic: Fix apparent copy/pasto
Colin Walters • 7 years ago  
file added
+2
@@ -0,0 +1,2 @@ 

+ check:

+ 	flake8-2 --ignore=W503,E131,E501,E226,E302,E265,E303 scripts/push-two-week-atomic.py

@@ -27,13 +27,11 @@ 

  import sys

  import json

  import glob

- import time

  import shutil

  import fnmatch

  import smtplib

  import argparse

  import logging

- import datetime

  import subprocess

  

  import requests
@@ -658,11 +656,6 @@ 

  

      log.info("Moving tree commit %s => %s (%s)", previous_commit, tree_commit, tree_version)

      move_tree_commit(pargs.release, previous_commit, tree_commit)

-     if subprocess.call(rsync_cmd):

-         log.error(

-             "stage_atomic_release: rsync command failed: {}".format(rsync_cmd)

-         )

-         exit(3)

  

      log.info("Staging release content in /pub/alt/atomic/stable/")

      stage_atomic_release(compose_id)

no initial comment

rebased

7 years ago

Pull-Request has been merged by maxamillion

7 years ago
Metadata