Author: poeml Date: Thu Jan 2 23:53:07 2014 New Revision: 94 URL: http://svn.mirrorbrain.org/viewvc/mod_asn?rev=94&view=rev Log: asn_get_routeviews: - allow to only download routing data, but don't process it with --download-only Happy New Year, Dagobert! (issue #127)
Modified: trunk/asn_get_routeviews.py Modified: trunk/asn_get_routeviews.py URL: http://svn.mirrorbrain.org/viewvc/mod_asn/trunk/asn_get_routeviews.py?rev=94&r1=93&r2=94&view=diff ============================================================================== --- trunk/asn_get_routeviews.py (original) +++ trunk/asn_get_routeviews.py Thu Jan 2 23:53:07 2014 @@ -23,6 +23,8 @@ print >>sys.stderr, 'Downloading', url urllib.urlretrieve(url, filename=filename) +if len(sys.argv) > 1 and sys.argv[1] == '--download-only': + sys.exit(0) def gen_open(filenames): _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-requ...@mirrorbrain.org