mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
Make readmeta use srclibs and check for config.py too
This commit is contained in:
parent
9301c50e3b
commit
ecb2a2a969
1 changed files with 4 additions and 3 deletions
|
|
@ -18,15 +18,16 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import metadata
|
|
||||||
|
|
||||||
|
import common
|
||||||
|
import metadata
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
if not os.path.isdir('metadata'):
|
config = common.read_config(None)
|
||||||
return
|
|
||||||
|
|
||||||
metadata.read_metadata(xref=True)
|
metadata.read_metadata(xref=True)
|
||||||
|
metadata.read_srclibs()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue