summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Semakin <and-semakin@ya.ru>2019-11-07 11:29:53 +0500
committerSybren A. Stüvel <sybren@stuvel.eu>2020-06-03 13:15:34 +0200
commit1473cb8599c44cffad56cecbe32c467d64f00247 (patch)
tree58eea047612a89bcd0efac9355c155fbae5b6264
parent8ed507176f09b9c162cf4f060dab8e219c6b0d77 (diff)
downloadrsa-git-1473cb8599c44cffad56cecbe32c467d64f00247.tar.gz
Drop character encoding markers for Python 2.x
-rwxr-xr-xcreate_timing_table.py2
-rw-r--r--doc/conf.py2
-rw-r--r--rsa/__init__.py2
-rw-r--r--rsa/_compat.py2
-rw-r--r--rsa/asn1.py2
-rw-r--r--rsa/cli.py2
-rw-r--r--rsa/common.py2
-rw-r--r--rsa/core.py2
-rw-r--r--rsa/key.py2
-rw-r--r--rsa/parallel.py2
-rw-r--r--rsa/pem.py2
-rw-r--r--rsa/pkcs1.py2
-rw-r--r--rsa/pkcs1_v2.py2
-rw-r--r--rsa/prime.py2
-rw-r--r--rsa/randnum.py2
-rw-r--r--rsa/transform.py2
-rw-r--r--rsa/util.py2
-rw-r--r--tests/test_common.py2
-rw-r--r--tests/test_compat.py2
-rw-r--r--tests/test_integers.py2
-rw-r--r--tests/test_load_save_keys.py2
-rw-r--r--tests/test_pem.py2
-rw-r--r--tests/test_pkcs1.py2
-rw-r--r--tests/test_pkcs1_v2.py2
-rw-r--r--tests/test_prime.py2
-rw-r--r--tests/test_strings.py2
-rw-r--r--tests/test_transform.py2
27 files changed, 0 insertions, 54 deletions
diff --git a/create_timing_table.py b/create_timing_table.py
index 6163916..498e6a0 100755
--- a/create_timing_table.py
+++ b/create_timing_table.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/doc/conf.py b/doc/conf.py
index 17d51c0..60201b1 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Python-RSA documentation build configuration file, created by
# sphinx-quickstart on Sat Jul 30 23:11:07 2011.
#
diff --git a/rsa/__init__.py b/rsa/__init__.py
index 3f928d9..3350de7 100644
--- a/rsa/__init__.py
+++ b/rsa/__init__.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/_compat.py b/rsa/_compat.py
index 46bf6fa..d9cd8d8 100644
--- a/rsa/_compat.py
+++ b/rsa/_compat.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/asn1.py b/rsa/asn1.py
index b724b8f..32b1eb4 100644
--- a/rsa/asn1.py
+++ b/rsa/asn1.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/cli.py b/rsa/cli.py
index b227a56..2bba47f 100644
--- a/rsa/cli.py
+++ b/rsa/cli.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/common.py b/rsa/common.py
index b983b98..c5b647d 100644
--- a/rsa/common.py
+++ b/rsa/common.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/core.py b/rsa/core.py
index 42f7bac..d6e146f 100644
--- a/rsa/core.py
+++ b/rsa/core.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/key.py b/rsa/key.py
index 7da0535..94a14b1 100644
--- a/rsa/key.py
+++ b/rsa/key.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/parallel.py b/rsa/parallel.py
index e81bcad..1c98442 100644
--- a/rsa/parallel.py
+++ b/rsa/parallel.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/pem.py b/rsa/pem.py
index a50a5e8..24edd90 100644
--- a/rsa/pem.py
+++ b/rsa/pem.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/pkcs1.py b/rsa/pkcs1.py
index 6378777..10ee50b 100644
--- a/rsa/pkcs1.py
+++ b/rsa/pkcs1.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/pkcs1_v2.py b/rsa/pkcs1_v2.py
index b751399..db94f87 100644
--- a/rsa/pkcs1_v2.py
+++ b/rsa/pkcs1_v2.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/prime.py b/rsa/prime.py
index dcd60dd..853aca5 100644
--- a/rsa/prime.py
+++ b/rsa/prime.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/randnum.py b/rsa/randnum.py
index e9bfc87..a5bb850 100644
--- a/rsa/randnum.py
+++ b/rsa/randnum.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/transform.py b/rsa/transform.py
index 4cd99bb..03c4a77 100644
--- a/rsa/transform.py
+++ b/rsa/transform.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/rsa/util.py b/rsa/util.py
index e0c7134..cb31c46 100644
--- a/rsa/util.py
+++ b/rsa/util.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_common.py b/tests/test_common.py
index af13695..71b81d0 100644
--- a/tests/test_common.py
+++ b/tests/test_common.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_compat.py b/tests/test_compat.py
index a047402..e74f046 100644
--- a/tests/test_compat.py
+++ b/tests/test_compat.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_integers.py b/tests/test_integers.py
index fb29ba4..2ca0a9a 100644
--- a/tests/test_integers.py
+++ b/tests/test_integers.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_load_save_keys.py b/tests/test_load_save_keys.py
index c0ee06c..7892fb3 100644
--- a/tests/test_load_save_keys.py
+++ b/tests/test_load_save_keys.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_pem.py b/tests/test_pem.py
index b9bd93c..dd03cca 100644
--- a/tests/test_pem.py
+++ b/tests/test_pem.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_pkcs1.py b/tests/test_pkcs1.py
index 1f0d305..9fba2d8 100644
--- a/tests/test_pkcs1.py
+++ b/tests/test_pkcs1.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_pkcs1_v2.py b/tests/test_pkcs1_v2.py
index 1d8f001..bba525e 100644
--- a/tests/test_pkcs1_v2.py
+++ b/tests/test_pkcs1_v2.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_prime.py b/tests/test_prime.py
index 75b80b3..5577f67 100644
--- a/tests/test_prime.py
+++ b/tests/test_prime.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_strings.py b/tests/test_strings.py
index 26404ae..1090a8e 100644
--- a/tests/test_strings.py
+++ b/tests/test_strings.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tests/test_transform.py b/tests/test_transform.py
index 83c3934..7b9335e 100644
--- a/tests/test_transform.py
+++ b/tests/test_transform.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
#
# Licensed under the Apache License, Version 2.0 (the "License");