ignore peer sites and slices
diff --git a/plstackapi/importer/plclassic/site_importer.py b/plstackapi/importer/plclassic/site_importer.py
index 56a60db..ca89bf5 100644
--- a/plstackapi/importer/plclassic/site_importer.py
+++ b/plstackapi/importer/plclassic/site_importer.py
@@ -13,7 +13,7 @@
self.local_sites[db_site.login_base] = db_site
print "%s local sites" % len(db_sites)
- sites = self.api.GetSites()
+ sites = self.api.GetSites({'peer_id': None})
print "%s remote sites" % len(sites)
count = 0
for site in sites:
diff --git a/plstackapi/importer/plclassic/slice_importer.py b/plstackapi/importer/plclassic/slice_importer.py
index 22b2793..54af3f8 100644
--- a/plstackapi/importer/plclassic/slice_importer.py
+++ b/plstackapi/importer/plclassic/slice_importer.py
@@ -9,7 +9,7 @@
def run(self, remote_sites={}, local_sites={}):
if not remote_sites:
- sites = self.api.GetSites()
+ sites = self.api.GetSites({'peer_id': None})
for site in sites:
remote_sites[site['site_id']] = site