chiark / gitweb /
Switch all headers to python3
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 4 Jan 2016 15:33:20 +0000 (16:33 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 10 Mar 2016 16:43:36 +0000 (16:43 +0000)
21 files changed:
examples/config.py
examples/makebuildserver.config.py
fdroid
fdroidserver/build.py
fdroidserver/checkupdates.py
fdroidserver/gpgsign.py
fdroidserver/import.py
fdroidserver/init.py
fdroidserver/install.py
fdroidserver/lint.py
fdroidserver/publish.py
fdroidserver/readmeta.py
fdroidserver/rewritemeta.py
fdroidserver/scanner.py
fdroidserver/server.py
fdroidserver/signindex.py
fdroidserver/stats.py
fdroidserver/update.py
fdroidserver/verify.py
makebuildserver
setup.py

index 54c326fe584736f3d0731f40dfc49e58222e5aa3..f022c2b0a76010aa5992eb0b1f444d2de671b888 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 
 # Copy this file to config.py, then amend the settings below according to
 # your system configuration.
index 9eae743c4efa98b76d62452eea99bcf5a13e1173..b43777ed28f78f8c4721eea961d28fe8551b55b9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 #
 # You may want to alter these before running ./makebuildserver
 
diff --git a/fdroid b/fdroid
index e24c0081ed8b464c573a13f385ca5e2aee0448e6..045f2aacf8e5f133c61fff43c126d7bcb1add75b 100755 (executable)
--- a/fdroid
+++ b/fdroid
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # fdroid.py - part of the FDroid server tools
 # Copyright (C) 2010-2015, Ciaran Gultnieks, ciaran@ciarang.com
index ed131d67e5036c383419d7dc2f7ee796941b7ca1..cf12c34ed32856ec90c0cedbc64720f8ebcfb09a 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # build.py - part of the FDroid server tools
 # Copyright (C) 2010-2014, Ciaran Gultnieks, ciaran@ciarang.com
index b617ea9aa12d7e13a1a44851dfc75e560ca82526..7d2100a3d078ee27d5fad1bb86501c2f7dc0df17 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # checkupdates.py - part of the FDroid server tools
 # Copyright (C) 2010-2015, Ciaran Gultnieks, ciaran@ciarang.com
index 07b0b155b65680172d79196780ed47d2eb4f1c9a..f27b9651c15d019eec7e1aad614df2197fb7c8c5 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # gpgsign.py - part of the FDroid server tools
 # Copyright (C) 2014, Ciaran Gultnieks, ciaran@ciarang.com
index 14f2f79d4ca2d5aabc4e4d4c55972953b5634b2e..5cead3f23b231097f68c23e539a4e58bc9eefde5 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # import.py - part of the FDroid server tools
 # Copyright (C) 2010-13, Ciaran Gultnieks, ciaran@ciarang.com
index f8f71bfba75447aa5494a3f6728cd11c02234033..3d8679ffced958593a9776efb2e2356bca14398a 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # update.py - part of the FDroid server tools
 # Copyright (C) 2010-2013, Ciaran Gultnieks, ciaran@ciarang.com
index af4a71bee4ef279cf9722c2385cee5e48f7c5634..ebb66232a1b2a65d05c583a6bb0f01eb4e091029 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # install.py - part of the FDroid server tools
 # Copyright (C) 2013, Ciaran Gultnieks, ciaran@ciarang.com
index 4aa9dcbccc9ace00119e462da3d6ff66d6e81b2b..f02bb7ed98403c4438a995b912ed301bcafaf644 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # lint.py - part of the FDroid server tool
 # Copyright (C) 2013-2014 Daniel Martí <mvdan@mvdan.cc>
index f0089d862e9f619d9c10390a055dd8ef1a8eecc1..c34382342f806e9e5a30edc4b01753e53dc171c0 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # publish.py - part of the FDroid server tools
 # Copyright (C) 2010-13, Ciaran Gultnieks, ciaran@ciarang.com
index f3fa12c035873c7b66e8ad84d58420372a0766d5..ae501630a54fe0b089349e7dbb49b7a61ee9e21c 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # readmeta.py - part of the FDroid server tools
 # Copyright (C) 2014 Daniel Martí <mvdan@mvdan.cc>
index 51d82c37e21b283f89baec9291b03ee4e4e53a5a..651349cd3fe60cc98663d3e57a6379550fd72540 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # rewritemeta.py - part of the FDroid server tools
 # This cleans up the original .txt metadata file format.
index 98e3421b72ed55936b55ec066783b5131ddf816f..f5a7e8fc07240ef7548ead4d61e451eff5a30359 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # scanner.py - part of the FDroid server tools
 # Copyright (C) 2010-13, Ciaran Gultnieks, ciaran@ciarang.com
index 802cac22588fa803df40f9dd28df74b04ea0db7f..80fc24f01854a36df9ddd3e02807594716a0c936 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # server.py - part of the FDroid server tools
 # Copyright (C) 2010-15, Ciaran Gultnieks, ciaran@ciarang.com
index 1d0c320067714f1f1c25d8cc79ba75e075f1d222..7ae9fb7b126da80ba00053edb9a3628e04a3418b 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # gpgsign.py - part of the FDroid server tools
 # Copyright (C) 2015, Ciaran Gultnieks, ciaran@ciarang.com
index b977ef1b0059e075735ac64b8833d77ed3b51179..351390fbf77bbc4dca6fc8854d655efd825829f1 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # stats.py - part of the FDroid server tools
 # Copyright (C) 2010-13, Ciaran Gultnieks, ciaran@ciarang.com
index 38a61c8b3aae245ff22b135041ade42068217c96..d46ae70da9acd5eb4b5fd35256eb976ba909dd6c 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # update.py - part of the FDroid server tools
 # Copyright (C) 2010-2015, Ciaran Gultnieks, ciaran@ciarang.com
index 2fb066be438f52017f1f0f5368755593229339b5..6ffff876bf5336536904fc7f8fe2d4d5751e0947 100644 (file)
@@ -1,5 +1,4 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
 #
 # verify.py - part of the FDroid server tools
 # Copyright (C) 2013, Ciaran Gultnieks, ciaran@ciarang.com
index 94d6695f21106141703902689b73b1538678c1ad..52855f8de7528925ee05603d45d651f310176631 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 
 import os
 import sys
index 947112f9a4e961af407bb4ffdc2e1b12660824ea..017cccd9cdaebffa41f57634c1c1002bf2a6f6bd 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 
 from setuptools import setup
 import sys