1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00

Get readmeta and rewritemeta running under python3

This commit is contained in:
Daniel Martí 2016-01-04 17:11:39 +01:00
parent 832b1224b9
commit e829b0f9e7
2 changed files with 5 additions and 5 deletions

View File

@ -17,8 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from argparse import ArgumentParser from argparse import ArgumentParser
import common from fdroidserver import common
import metadata from fdroidserver import metadata
def main(): def main():

View File

@ -22,8 +22,8 @@ import os
import logging import logging
import io import io
import common from fdroidserver import common
import metadata from fdroidserver import metadata
config = None config = None
options = None options = None
@ -81,7 +81,7 @@ def main():
if options.list: if options.list:
if not proper_format(app): if not proper_format(app):
print app.metadatapath print(app.metadatapath)
continue continue
with open(base + '.' + to_ext, 'w') as f: with open(base + '.' + to_ext, 'w') as f: