]> projects.mako.cc - iron-blogger/commitdiff
Make import-feeds quieter.
authorNelson Elhage <nelhage@mit.edu>
Mon, 4 Jan 2010 16:36:37 +0000 (11:36 -0500)
committerNelson Elhage <nelhage@mit.edu>
Mon, 4 Jan 2010 16:36:37 +0000 (11:36 -0500)
import-feeds.py

index a54fef8245edc0e264135a03e488686634c4fe10..9d4f9bb4268fd9b9ee1b13d7317fc3a117cf6571 100755 (executable)
@@ -21,17 +21,14 @@ def fetch_links(url):
     return links[0].attrib['href']
 
 for (name, u) in users.items():
-    print "[%s]" % name
     for e in u['links']:
         (title, url) = e[0:2]
-        print " - %s:" % title.strip()
         e[0] = e[0].strip()
         if len(e) == 3:
             continue
         link = fetch_links(url)
         if not link.startswith('http:'):
             link = urlparse.urljoin(url, link)
-        print "   %s" % (link,)
         e.append(link)
 
 with open('bloggers.yml', 'w') as f:

Benjamin Mako Hill || Want to submit a patch?