blob: e223257b2ea917daa0e7130f2f59f7d9b006f613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/python
# rpmci-vcs-mirror:
# Poll set of VCS URLs, caching local repositories
#
# Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php)
# Copyright (C) 2010 Red Hat, Inc.
# Written by Colin Walters <walters@verbum.org>
import os
import sys
if os.path.isdir('.git'):
sys.path.insert(0, os.getcwd())
import rpmci
from rpmci.rpmci_vcs_mirror_main import main
if __name__ == '__main__':
main()
|