Commit dc8b443c authored by Ian Dennis Miller's avatar Ian Dennis Miller

arg logging

parent 0e0add67
Pipeline #258 passed with stage
in 14 seconds
......@@ -8,7 +8,7 @@ from rdflib.namespace import RDF
from . import make_uri
from .transformation import Transformation
from .query import Query
from .downloader import Downloader
from .downloader import Downloader, logging
class Snapshot:
......@@ -298,6 +298,7 @@ class Snapshot:
screen_name = screen_name.lower()
snapshot = cls(screen_name=screen_name, degree=1)"Create snapshot for {0}".format(screen_name))
if not snapshot.file_exists():
......@@ -311,14 +312,14 @@ class Snapshot:
if not secondary:
snapshot.load()"Skipping {0} because snapshot exists".format(screen_name))"Skipping {0} because snapshot exists".format(screen_name))
# if secondary is false, do not spider recursively
if not secondary:"Spider connections from {} ".format(screen_name))"Spider connections from {} ".format(screen_name))
for func in [snapshot.query.followers, snapshot.query.leaders]:
screen_names = func(screen_name)
for sub_screen_name in screen_names:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment