Skip to content

Commit

Permalink
Stop defining Python source code encodings
Browse files Browse the repository at this point in the history
This is not needed in python3 as utf-8 is default python encoding

Closes #12389
  • Loading branch information
marusak authored Jul 23, 2019
1 parent 2cf6e3a commit 31c3500
Show file tree
Hide file tree
Showing 134 changed files with 0 additions and 154 deletions.
1 change: 0 additions & 1 deletion bots/example-task
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/github-info
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/image-download
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/image-prune
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/image-refresh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/image-trigger
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/atomic.bootstrap
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/continuous-atomic.bootstrap
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/continuous-atomic.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/fedora-atomic.bootstrap
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/fedora-atomic.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/fedora-atomic.setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# -*- coding: utf-8 -*-

set -ex

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/lib/atomic.setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/lib/docker-images.setup
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
set -ex
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/lib/zero-disk.setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/rhel-atomic.bootstrap
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/rhel-atomic.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/images/scripts/rhel-atomic.setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# -*- coding: utf-8 -*-

set -e

Expand Down
1 change: 0 additions & 1 deletion bots/issue-scan
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/learn-tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/learn-trigger
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/directories.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2019 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/machine.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/machine_virtual.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/ssh_connection.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/testvm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions bots/machine/machine_core/timeout.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
1 change: 0 additions & 1 deletion bots/machine/make-cloud-init-iso
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /bin/bash
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/machine/testvm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3 -u
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/make-checkout
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/naughty-prune
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/naughty-trigger
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/npm-trigger
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/npm-update
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/po-refresh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/po-trigger
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/cache.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/github.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/sink.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/test-cache
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/test-checklist
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/test-github
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/task/test-task
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/tests-data
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/tests-invoke
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/tests-policy
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/tests-scan
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion bots/tests-score
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion test/avocado/checklogin-basic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion test/avocado/checklogin-raw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion test/avocado/example-check-foo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion test/avocado/notworking-checkrealms-basic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
1 change: 0 additions & 1 deletion test/avocado/run-tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
2 changes: 0 additions & 2 deletions test/avocado/testlib_avocado/cockpit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2015 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions test/avocado/testlib_avocado/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions test/avocado/testlib_avocado/libdisc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2015 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions test/avocado/testlib_avocado/libnetwork.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2015 Red Hat, Inc.
Expand Down
1 change: 0 additions & 1 deletion test/avocado/testlib_avocado/timeoutlib.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
2 changes: 0 additions & 2 deletions test/common/cdp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import fcntl
import glob
import json
Expand Down
2 changes: 0 additions & 2 deletions test/common/tap.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
2 changes: 0 additions & 2 deletions test/common/testlib.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
# Copyright (C) 2013 Red Hat, Inc.
Expand Down
1 change: 0 additions & 1 deletion test/verify/check-accounts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# This file is part of Cockpit.
#
Expand Down
Loading

0 comments on commit 31c3500

Please sign in to comment.