diff --git a/syncpackage b/syncpackage index ece5e5c..b024e76 100755 --- a/syncpackage +++ b/syncpackage @@ -473,7 +473,7 @@ def is_blocklisted(query): continue applicable_lines.append(line) try: - line = line[:line.index("#")] + line = line[: line.index("#")] except ValueError: pass source = line.strip() @@ -523,7 +523,7 @@ def parse(): "-y", "--yes", action="store_true", - help="Automatically sync without prompting. Use with caution and care." + help="Automatically sync without prompting. Use with caution and care.", ) parser.add_argument("-d", "--distribution", help="Debian distribution to sync from.") parser.add_argument("-r", "--release", help="Specify target Ubuntu release.") @@ -776,7 +776,9 @@ def main(): continue if args.lp: - if not copy(src_pkg, args.release, args.bugs, sponsoree, args.simulate, args.force, args.yes): + if not copy( + src_pkg, args.release, args.bugs, sponsoree, args.simulate, args.force, args.yes + ): continue else: os.environ["DEB_VENDOR"] = "Ubuntu" diff --git a/ubuntutools/archive.py b/ubuntutools/archive.py index 7bd134b..d4d45bd 100644 --- a/ubuntutools/archive.py +++ b/ubuntutools/archive.py @@ -734,6 +734,7 @@ class PersonalPackageArchiveSourcePackage(UbuntuSourcePackage): class UbuntuCloudArchiveSourcePackage(PersonalPackageArchiveSourcePackage): "Download / unpack an Ubuntu Cloud Archive source package" + TEAM = "ubuntu-cloud-archive" PROJECT = "cloud-archive" VALID_POCKETS = ["updates", "proposed", "staging"] diff --git a/ubuntutools/test/test_running_autopkgtests.py b/ubuntutools/test/test_running_autopkgtests.py index 5a3d801..e2c34b2 100644 --- a/ubuntutools/test/test_running_autopkgtests.py +++ b/ubuntutools/test/test_running_autopkgtests.py @@ -12,7 +12,7 @@ # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -""" Tests for running_autopkgtests +"""Tests for running_autopkgtests Tests using cached data from autopkgtest servers. These tests only ensure code changes don't change parsing behavior