mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Make metadata.py a proper module (renamed to common.py)
This commit is contained in:
parent
0ad478ae01
commit
a26c3ca507
4 changed files with 11 additions and 6 deletions
5
update.py
Normal file → Executable file
5
update.py
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# update.py - part of the FDroid server tools
|
||||
|
@ -34,7 +35,7 @@ repo_icon = None
|
|||
repo_url = None
|
||||
execfile('config.py')
|
||||
|
||||
execfile('metadata.py')
|
||||
import common
|
||||
|
||||
# Parse command line...
|
||||
parser = OptionParser()
|
||||
|
@ -66,7 +67,7 @@ if (repo_url is None or repo_name is None or
|
|||
sys.exit(1)
|
||||
|
||||
# Get all apps...
|
||||
apps = read_metadata(verbose=options.verbose)
|
||||
apps = common.read_metadata(verbose=options.verbose)
|
||||
|
||||
# Copy apks and source tarballs for stuff we've built from source that
|
||||
# is flagged to be included in the repo...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue