[mirrorbrain-commits] [mod_asn] r94 - /trunk/asn_get_routeviews.py

From: <poeml_at_mirrorbrain.org>
Date: Thu, 02 Jan 2014 22:53:07 -0000
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
_at_@ -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-request_at_mirrorbrain.org
Received on Thu Jan 02 2014 - 22:53:10 GMT

This archive was generated by hypermail 2.3.0 : Thu Jan 02 2014 - 23:17:06 GMT