mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Get readmeta and rewritemeta running under python3
This commit is contained in:
parent
832b1224b9
commit
e829b0f9e7
@ -17,8 +17,8 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from argparse import ArgumentParser
|
||||
import common
|
||||
import metadata
|
||||
from fdroidserver import common
|
||||
from fdroidserver import metadata
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -22,8 +22,8 @@ import os
|
||||
import logging
|
||||
import io
|
||||
|
||||
import common
|
||||
import metadata
|
||||
from fdroidserver import common
|
||||
from fdroidserver import metadata
|
||||
|
||||
config = None
|
||||
options = None
|
||||
@ -81,7 +81,7 @@ def main():
|
||||
|
||||
if options.list:
|
||||
if not proper_format(app):
|
||||
print app.metadatapath
|
||||
print(app.metadatapath)
|
||||
continue
|
||||
|
||||
with open(base + '.' + to_ext, 'w') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user