mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Get readmeta and rewritemeta running under python3
This commit is contained in:
parent
832b1224b9
commit
e829b0f9e7
2 changed files with 5 additions and 5 deletions
|
|
@ -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():
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue