Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Missing imports

  • Loading branch information...
commit c49101f419cd11862e76a8a57006dc82da342c9b 1 parent d67950f
@lalinsky authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  utils.py
  2. +1 −1  wp_artist_country.py
  3. +1 −1  wp_links_rgs.py
View
1  utils.py
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
+import urllib
import re
import locale
import sys
View
2  wp_artist_country.py
@@ -8,7 +8,7 @@
import pprint
import urllib
import time
-from utils import mangle_name, join_names, mw_remove_markup, out, get_page_content
+from utils import mangle_name, join_names, mw_remove_markup, out, get_page_content, extract_page_title
import config as cfg
engine = sqlalchemy.create_engine(cfg.MB_DB)
View
2  wp_links_rgs.py
@@ -36,7 +36,7 @@
LEFT JOIN l_release_group_url l ON
l.entity0 = a.id AND
l.link IN (SELECT id FROM link WHERE link_type = 89)
- WHERE a.artist_credit > 2 AND l.id IS NULL AND (a.type IS NULL OR a.type IN (SELECT id FROM release_group_type WHERE name IN ('Album', 'EP', 'Live', 'Remix')))
+ WHERE a.artist_credit > 2 AND l.id IS NULL AND (a.type IS NULL OR a.type IN (SELECT id FROM release_group_type WHERE name IN ('Album', 'EP', 'Live', 'Remix', 'Compilation')))
ORDER BY a.artist_credit, a.id
LIMIT 100000
)
Please sign in to comment.
Something went wrong with that request. Please try again.