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

Make readmeta use srclibs and check for config.py too

This commit is contained in:
Daniel Martí 2014-05-27 15:17:37 +02:00
parent 9301c50e3b
commit ecb2a2a969

View File

@ -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()